Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0SQL Server 2000 connectivity issueSQL Server 2000 connectivity issue
Previous
 
Next
New Post
7/23/2007 12:20 PM
 

Hi,
My application has accessing data from a remote database server .
My connection string is defined in web.config as follows
[B]<appSettings>
    <add key="ConnectionString" value="data source=DEVSVR;initial catalog=DEInsdata;user id=sa;"></add>
  </appSettings>[/B]
Whenever I am running the application from VS.NET 2005 it runs fine but when I run application from IE the application never run and there is a message [B]sql server 2005 does not allow remote connections[/B] and the most surprising thing is that my database is SQl SERVER 2000 so I am really confused with this error message.
Kindly help me

 
New Post
7/23/2007 12:51 PM
 

Do you have both your connection strings set in the web.config file?


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/24/2007 1:45 AM
 

Actually I am not doing anything with SQL Server 2005. All my tables , views , SP s are in SQL Server 2000. So I've only one connection string in my web.config which is pointing to our database server. I failed to understand why this error is coming

 
New Post
7/24/2007 9:30 AM
 

But, DNN has two connection strings in the Web.config file. I'd be willing to bet that the other one is still setup to use SQL Express and that's why you're getting your problems.

In your SQL2000 database are there any tables?

 


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
7/24/2007 10:16 AM
 

Hi Chris,

Yes, all the table in sql server 2000

Below is my web.config file.

And kindly look the highlighted portion. It's the connection string.

<?xml version="1.0"?>
<!-- 
 -->
<configuration>
  <appSettings>
    <add key="ConnectionString" value="data source=DEVSVR;initial catalog=DEInsdata;user id=sa;"></add>
  </appSettings>

 <connectionStrings/>
 <system.web>
  <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
  <compilation debug="true"/>
  <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
  <authentication mode="Windows"/>
  <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
 </system.web>
</configuration>

#But, DNN has two connection strings in the Web.config file. I'd be willing to bet that the other one is still setup to use SQL Express and that's why you're getting your problems.

Could you please little bit precise about this?(I am copying my web.config below for your convenience)

##In your SQL2000 database are there any tables?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0SQL Server 2000 connectivity issueSQL Server 2000 connectivity issue


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out