Well, here's my dilemma, I've been developing on a shared host for discountasp.net (IIS 6) for some time now. Everything went well, but now that the application is complete, we will move it to our own dedicated server, which is now 2008 and IIS 7 server.
I am currently using ASP form authentication (which seems to work fine on IIS6)
The problem occurs when I click on the login, the "Subscribe" window appears. Then an error occurs in JavaScript Member Members.js "The object does not support Membership.js". I checked that the code is: membership.BeginLogin (uid, pwd, rememberme); and actually passed the correct variables.
Another strange thing that I noticed when setting permissions on forms was that when I went to select users or roles in the IIS 7 management console, it would take forever, and then a timeout with the following error: When establishing a connection with SQL Server encountered a network-related or specific instance error. The server was not or was not accessible, make sure that the instance name is correct and that SQL Server is configured to allow remote connections (provider provider named pipe: error 40 - could not open a connection to SQL Server.)
I'm pretty weak on the hardware / configuration side of the house, so I'm not quite sure what the problem is, almost as if IIS7 cannot see the database. However, they are both located on the same server. If someone could point me in the right direction, how to solve this, I will be forever grateful!
Thanks in advance Bryan
source
share