Re: No db access after publishing web site



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




.



Relevant Pages

  • Re: Disable WebDAV just for one URL??
    ... I set up a FP web site - let's call it family.sld.tld. ... There is a folder named Documents under ... >How exactly are you publishing the documents, and how did you set it up? ... >c) To control WebDAV publishing permissions, ...
    (microsoft.public.inetserver.iis)
  • Re: Unable to make working backup or publish
    ... The best option is to publish the current site to folder on your HD, ... I run an internal web site at work on my local machine (W2000 using IIS). ... I desire to make a backup of my web site and test it on my home machine. ... I've tried publishing the web site to a folder on my work machine. ...
    (microsoft.public.frontpage.client)
  • Re: Publishing to remote web site
    ... It sounds like you are publishing to the wrong folder. ... not exist in the current web site. ... Would you like Frontpage to remove it ...
    (microsoft.public.frontpage.client)
  • Re: Server error: Cannot create folder W3SVC104
    ... I have a few sites where the stats are kept in the web site in a folder ... Open the live web site. ... Navigate to the stats folder. ... my computer and the site published perfectly -- publishing took almost 3 ...
    (microsoft.public.frontpage.programming)
  • Re: Cant publish
    ... Check to make sure the FP server extensions are ... | tried publishing one folder or file at a time. ... |>To find the best Newsgroup for FrontPage support see: ...
    (microsoft.public.frontpage.client)