473,769 Members | 4,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can not get IIS to run ASPX when I am connecting to SQL DB.

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.e xe 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\Sele ct a single provider for all site management data
and ran the TEST. I get the message "Successful ly 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

May 26 '06 #1
1 1106
Phil...so you xcopied the directory to your IIS server, set the virtual
directory, went into the properties to make sure sure is running under
asp.net 2.0 and didn't work? that is funky!

can you access any other site on that server? if that works, can you put
some try/catches and log the SqlException?

Jose
"Phillip Vong" <phillip_vong*a t*yahoo*dot*com > wrote in message
news:%2******** ********@TK2MSF TNGP04.phx.gbl. ..
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.e xe 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\Sele ct a single provider for all site management data
and ran the TEST. I get the message "Successful ly 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

May 26 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2608
by: Jim Bayers | last post by:
Our network nazi doesn't want us running a webserver on the server that has a connection to the campus database so we created a remote object that runs as a windows service. The windows service runs on the server with a connection to the campus database and we make calls to it. My question is, how best to connect to this object via asp.net, in an aspx page?. The example I had used a console ap to connect and that works, but we want to...
12
2792
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed both the iis and sql server in a single machine. Not too long ago, the machine had some hardware problems, and management has decided to purchase new servers, for both asp.net and sql server.
27
2561
by: Javier Martinez | last post by:
Hi I have asp application in a machine with a virtual directory referring a shared directory in another machine When I try to load any aspx page of my portal I get the following error: Mensaje de error del analizador: We can't load the type 'JULIAN.Global'.
3
1741
by: GP | last post by:
We are connecting to sql server database in the webservices & retrieve the data as dataset from the webservices and load it to the aspx pages ,But we find loading of the aspx pages takes longer time than the pages that retrieve data directly using cs files.Is it good practise to use the data retrieval in web services. Can some help me in this issue. Thanks GP
1
3428
by: maikl | last post by:
Hi, friends! I have created .aspx page which uses sql connection to SQL Server 2000 on computer with Win2000 advanced server used as web server. The page works normally on VS2005 with its ASP.NET Web Development server. When I try to test the page on IIS 5.0 /.NET Framework 2.0 installed/, I receive the following error: "Failed to execute request because the App-Domain could not be created. Error: 0x80004005 Unspecified error". I need help....
8
1851
by: Tom | last post by:
I can open a .NET 1.1 project fine but when I try and open a page within that project I'm prompted for a username and password. Any ideas on why I would be prompted for a username and password when trying to open a .aspx page? I get the windows login screen: Connect to 'Servername'
3
2759
by: LamSoft | last post by:
I am not going to write a aspx to connect a SQL Server... but it tries to connect the SQL Server... Some of the Code.. protected void LoginButton_Click(object sender, EventArgs e) { if (Request.Form == null || Request.Form == "") { Session = "LocalHost"; }
6
5083
by: Michael | last post by:
I need to copy a huge file (around 300Mb) from a mapped network drive to another. I have created a console application and used System.IO.File.Copy function. But I want to know the process of this copying work. Is there any way? I am thinking that I can get the file size, but I don't know how to get the size copied. Thanks.
0
2008
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ((string)(this.GetPropertyValue("Address1")));
0
10222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9999
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9866
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8876
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3967
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3570
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.