Group,

I am attempting to connect Django with SQL Server 2008. My dev server
is running on a Win 7 box and SQL Server is on a Win 2003 box. When
posting from the authentication form, I get exception 10061,
'Connection refused'. Traceback below. I am using django-pyodbc
revision 115. I had it all working with the same versions on Win XP
with SQL Server on the same Win 2003 box. I suspected there was an
issue with the added security on Win 7, so I am allowing python.exe
through the firewall. That didn't solve it. Any other ideas?

Thank you for your help,

-colin-

==============================================

Environment:

Request Method: POST
Request URL: http://127.0.0.1:8000/brazil/admin/
Django Version: 1.0.2 final
Python Version: 2.5.4
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'Brazil_App']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware')


Traceback:
File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg\django
\core\handlers\base.py" in get_response
  86.                 response = callback(request, *callback_args,
**callback_kwargs)
File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg\django
\contrib\admin\sites.py" in root
  141.             return self.login(request)
File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg\django
\views\decorators\cache.py" in _wrapped_view_func
  44.         response = view_func(request, *args, **kwargs)
File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg\django
\contrib\admin\sites.py" in login
  241.         user = authenticate(username=username,
password=password)
File "c:\python25\lib\site-packages\django-1.0.2_final-py2.5.egg\django
\contrib\auth\__init__.py" in authenticate
  36.             user = backend.authenticate(**credentials)
File "C:\Code\POS Resources\Brazil\Brazil_App\auth\__init__.py" in
authenticate
  7.         if svc.authenticate(username, password):
File "C:\Code\POS Resources\Brazil\Brazil_App\soap\__init__.py" in
authenticate
  36.         ws.endheaders()
File "C:\Python25\lib\httplib.py" in endheaders
  860.         self._send_output()
File "C:\Python25\lib\httplib.py" in _send_output
  732.         self.send(msg)
File "C:\Python25\lib\httplib.py" in send
  699.                 self.connect()
File "C:\Python25\lib\httplib.py" in connect
  683.             raise socket.error, msg

Exception Type: error at /brazil/admin/
Exception Value: (10061, 'Connection refused')

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to