I'm using VS 2005 connecting to a SQL 2000 DB on another server. The SQL is
also running IIS 6 with ASP.NET 2.0
When I test the aspx on my computer, it has no problem getting the
information from the SQL. Doing some research, I found I needed to run
aspnet_regsql.exe against my DB. I did and I now see the additional ASP
tables in my DB. I then went into the ASP.NET configuration and went to
Provider Management\Select a single provider for all site management data
and ran the TEST. I get the message "Successfully established a connection
to the database", but it does not work when I publish to this IIS server
running on the SQL? Like I said, it works fine when I debug it from my
computer. What else am I forgetting to get this to work.
All files were copied over to the IIS server correctly from what I can tell.
Thanks!
Newbie Phil
Brendan Green - 29 May 2006 04:09 GMT
For IIS, you'll need to run aspnet_regiis, and then open the IIS Management
Console and ensure that ASP.NET is enabled.
> I'm using VS 2005 connecting to a SQL 2000 DB on another server. The SQL
> is also running IIS 6 with ASP.NET 2.0
[quoted text clipped - 15 lines]
>
> Newbie Phil
Phillip Vong - 30 May 2006 15:32 GMT
Thanks for the update. DO you know what switches I should use? I just want
all sites to run asp.net 2 and I want them all to work with my Database.
Thanks again!
Phil
> For IIS, you'll need to run aspnet_regiis, and then open the IIS
> Management Console and ensure that ASP.NET is enabled.
[quoted text clipped - 18 lines]
>>
>> Newbie Phil
emorgoch.public@gmail.com - 30 May 2006 16:32 GMT
Most likely the -i switch is all you need.