Hi,

i have developed a asp.net project(on visual studio 2005) and created a web setup,

this project is running fine while i am running in development enviorment(Visual studio), but

after installing the setup ,my installed website is running but it is not able to access sqlServer Database ...

what i have is

IIS V5.1

Sql server 2005

.net Framework 2.0

service pack 2

also tested in windows server 2003 but its throwing same problem.

i want immidiate help

Hi,
after installing the setup ,my installed website is running but it is not able to access sqlServer Database ...

I suggest a problem with DB credentials or the access to DB server/application. Please check if you can access the DB from that server with that credentials. Also are there read/write permissions for the credentials?
You could have hardcoded bad credentials or URL/PATH to the DataBase.

The webSite is an application without need of data, therefore it is running. But as soon as you need data it goes down.

How you define your connection string in your application?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.