Prepare for your Next Interview
This is a discussion on ASP.NET Virtual Directory within the ASP.NET forums, part of the Web Development category; i've created a virtual directory for my asp.net application that includes an SQL connection. I have given the connection string in web.config file. though the page opens, ...
|
|||
|
ASP.NET Virtual Directory
i've created a virtual directory for my asp.net application that includes an SQL connection. I have given the connection string in web.config file. though the page opens, i get a connection error.
plz help me out !! ![]() |
| Sponsored Links |
|
|||
|
Re: ASP.NET Virtual Directory
Amit, could u pls provide the code how r u using connection and what the error u got actually. Then its I'll be able to understand the problem.
---V V---- Regards, Vikas Vaidya |
|
|||
|
Re: ASP.NET Virtual Directory
Quote:
i created my connection in web.config Quote:
Try con = New SqlConnection(ConfigurationManager.AppSettings("conn")) con.Open() Catch ex As Exception Response.Write("Connection Error") End Try i created a new virtual directory & gave it read & run permissions. then i went to the properties tab of the above created virtual directory & clicked the documents tab. i added frmLogin.aspx & moved it to top. in ie: Quote:
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Active Directory | Hemanth Kumar G | Windows | 1 | 05-13-2008 09:52 AM |
| C++ Pure Virtual Function and Virtual Base Class | Lokesh M | C and C++ | 0 | 10-04-2007 07:29 AM |
| I can't see any files in OS Solaris 10 directory | suman.solaris | Sun Certification | 1 | 09-11-2007 09:38 AM |
| A derivation inherits both a virtual and non-virtual instance | Geek_Guest | OOPS | 1 | 07-18-2007 05:51 AM |
| Oracle Directory problem | vidya_kr | Oracle | 1 | 06-25-2007 08:27 AM |