Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

The previous developer used MS Frontpage 2003 to create this ASP website. He included in every page the strings to send data back and forth to SQL Server 2000. I am now creating some pages using Visual Studio 2005 Beta. I have a problem with the asp.net strings and webconfig. Does anyone know how to fix this problem without redoing any of the code in the pre-existing pages?

 

There seems to be a conflict. When I have the script in webconfig for the VS pages to connect to SQL, the previous pages, made with Frontpage 2003, will not connect. When the script is not in, of course the VS pages will not work.

 

 

The new config file

 

<!-- Web.Config Configuration File -->

 

 

<configuration>

<connectionStrings>

<add name="ADFGrantManagementConnectionString" connectionString="Data Source=ARIES;Initial Catalog=ADFGrantManagement;Persist Security Info=True;User ID=ADFWebUser;Password=adf"

providerName="System.Data.SqlClient" />

</connectionStrings>

<system.web>

<customErrors mode="Off"/>

</system.web>

</configuration>

 

The old config file

 

<!-- Web.Config Configuration File -->

 

 

<configuration>

<system.web>

<customErrors mode="Off"/>

</system.web>

</configuration>

 

 

 

:confused: :confused: :confused: :confused: :confused:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...