Click here to Skip to main content
15,887,365 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Why isn't my dropdown list of languages working? Pin
i_kant_spel20-Dec-10 9:50
i_kant_spel20-Dec-10 9:50 
Questionset parameter javascript in aspx page Pin
C#Coudou17-Dec-10 19:28
C#Coudou17-Dec-10 19:28 
AnswerRe: set parameter javascript in aspx page Pin
Manas Bhardwaj18-Dec-10 21:15
professionalManas Bhardwaj18-Dec-10 21:15 
AnswerRe: set parameter javascript in aspx page Pin
Vimalsoft(Pty) Ltd19-Dec-10 21:51
professionalVimalsoft(Pty) Ltd19-Dec-10 21:51 
AnswerRe: set parameter javascript in aspx page [modified] Pin
Hiren solanki19-Dec-10 22:25
Hiren solanki19-Dec-10 22:25 
GeneralRe: set parameter javascript in aspx page Pin
Manfred Rudolf Bihy19-Dec-10 22:32
professionalManfred Rudolf Bihy19-Dec-10 22:32 
GeneralRe: set parameter javascript in aspx page Pin
Hiren solanki19-Dec-10 22:35
Hiren solanki19-Dec-10 22:35 
QuestionAccessing SQL Server Database file (*.mdf ) from the Site. Pin
Katiyar S.17-Dec-10 5:35
Katiyar S.17-Dec-10 5:35 
I am new to ASP.NET Development, I have created a web site at which access a database, it works fine at my file system

When I create a Site at the File System say "D:\Work\Websites"

I have a folder "D:\Work\Websites\App_Data" folder where i keep the database file say "sitedata.mdf".

i connect the SQLServer using connection string as

string strConnStr = "Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\sitedata.mdf;Integrated Security=True;User Instance=True";


it works fine, i mean i am able to access/ manipulate database.

and when i copy the whole site to my web root folder (where my localhost is mapped) and copy the "App_Data" folder as well, i mean the
keeping the same structure (means App_Data folder inside the web root folder (where aspx file is located), it refuses to connect,

and displays a message.

Unable to open Database connection [Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.]



do i need to supply some other arguments, or missing some settings.

i am quite new at this front, please suggest .

thanks

prateek.
QuestionLinq to Entities vs Linq to SQL Pin
Swiftain17-Dec-10 5:21
Swiftain17-Dec-10 5:21 
AnswerRe: Linq to Entities vs Linq to SQL Pin
Not Active17-Dec-10 5:55
mentorNot Active17-Dec-10 5:55 
Questionfunctions in standalone .aspx files not allowed?? SOLVED - IGNORE ME *SIGH* Pin
l a u r e n17-Dec-10 5:08
l a u r e n17-Dec-10 5:08 
AnswerRe: functions in standalone .aspx files not allowed?? SOLVED - IGNORE ME *SIGH* Pin
_Erik_17-Dec-10 5:33
_Erik_17-Dec-10 5:33 
QuestionStoping the Flickering Pin
Vimalsoft(Pty) Ltd16-Dec-10 20:20
professionalVimalsoft(Pty) Ltd16-Dec-10 20:20 
GeneralRe: Stoping the Flickering Pin
Ankur\m/16-Dec-10 20:33
professionalAnkur\m/16-Dec-10 20:33 
GeneralRe: Stoping the Flickering Pin
Vimalsoft(Pty) Ltd16-Dec-10 20:35
professionalVimalsoft(Pty) Ltd16-Dec-10 20:35 
GeneralRe: Stoping the Flickering Pin
Ankur\m/16-Dec-10 20:44
professionalAnkur\m/16-Dec-10 20:44 
AnswerRe: Stoping the Flickering Pin
Ankur\m/16-Dec-10 20:46
professionalAnkur\m/16-Dec-10 20:46 
GeneralRe: Stoping the Flickering Pin
Vimalsoft(Pty) Ltd16-Dec-10 20:52
professionalVimalsoft(Pty) Ltd16-Dec-10 20:52 
GeneralRe: Stoping the Flickering<Resolved> Pin
Vimalsoft(Pty) Ltd17-Dec-10 10:28
professionalVimalsoft(Pty) Ltd17-Dec-10 10:28 
GeneralRe: Stoping the Flickering Pin
Ankur\m/17-Dec-10 18:24
professionalAnkur\m/17-Dec-10 18:24 
QuestionConfirmation Message Box in Code Behind Asp.Net [modified] Pin
priyagee16-Dec-10 18:27
priyagee16-Dec-10 18:27 
AnswerRe: Confirmation Message Box in Code Behind Asp.Net Pin
Hiren solanki16-Dec-10 19:00
Hiren solanki16-Dec-10 19:00 
GeneralRe: Confirmation Message Box in Code Behind Asp.Net Pin
priyagee16-Dec-10 19:33
priyagee16-Dec-10 19:33 
QuestionRe: Confirmation Message Box in Code Behind Asp.Net Pin
Hiren solanki16-Dec-10 20:03
Hiren solanki16-Dec-10 20:03 
AnswerRe: Confirmation Message Box in Code Behind Asp.Net Pin
priyagee16-Dec-10 20:53
priyagee16-Dec-10 20:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.