Re: No db access after publishing web site
- From: "Agos" <agostino.guberti@xxxxxxxxxxxxx>
- Date: Fri, 8 Jun 2007 23:06:48 +0200
I published my application in the same file system (different folder) on
same PC.
This is the connection string I use
<add name="pagoConnectionString" connectionString="Data
Source=.\SQLEXPRESS;Initial Catalog=pago;Integrated Security=True;User
Instance=False"
The database is in folder
C:\Programmi\Microsoft SQL Server\MSSQL.1\MSSQL\Data
My working solution is in D:\WEB\WASP
I published in C:\WEB\WASP
and it also works except than the db WEB forms with gridview
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> ha scritto nel messaggio
news:%23R7L%23zgqHHA.3456@xxxxxxxxxxxxxxxxxxxxxxx
Sounds like your connection string needs to be different
at the server where you published your application to.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Agos" <agostino.guberti@xxxxxxxxxxxxx> wrote in message
news:6Ciai.14217$BU3.3863@xxxxxxxxxxxxxxxxxxxxxxxx
I developed my first web site using Visual studio 2005.
It works very well with Visual Studio. But after I published the web site
in a file system folder in my PC using
the instructions I found in Visual studio help Walkthrough: Publishing a
Web Site, I can navigate the web forms
except the ones with connections (using Gridview, details view) to the
database (SQL Server 2005).
What didn't I do?
Thank you
Agos
.
- Follow-Ups:
- Re: No db access after publishing web site
- From: Juan T. Llibre
- Re: No db access after publishing web site
- References:
- No db access after publishing web site
- From: Agos
- Re: No db access after publishing web site
- From: Juan T. Llibre
- No db access after publishing web site
- Prev by Date: Re: Response.Redirect after a Response.Flush
- Next by Date: ToolTip in DropDownList in TemplateControl
- Previous by thread: Re: No db access after publishing web site
- Next by thread: Re: No db access after publishing web site
- Index(es):
Relevant Pages
|