Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: read and write, my vote of 1 (again) Pin
Richard MacCutchan13-Mar-11 2:14
mveRichard MacCutchan13-Mar-11 2:14 
AnswerRe: read and write PinPopular
Pete O'Hanlon13-Mar-11 11:21
mvePete O'Hanlon13-Mar-11 11:21 
GeneralRe: read and write Pin
Dalek Dave13-Mar-11 11:23
professionalDalek Dave13-Mar-11 11:23 
QuestionHow disable scripts in webbrowser using c# Pin
shaozhufu12-Mar-11 3:11
shaozhufu12-Mar-11 3:11 
AnswerRe: How disable scripts in webbrowser by c# Pin
Dalek Dave12-Mar-11 3:49
professionalDalek Dave12-Mar-11 3:49 
GeneralRe: How disable scripts in webbrowser by c# Pin
shaozhufu12-Mar-11 4:14
shaozhufu12-Mar-11 4:14 
GeneralRe: How disable scripts in webbrowser by c# Pin
Dave Kreskowiak12-Mar-11 5:16
mveDave Kreskowiak12-Mar-11 5:16 
QuestionDeployment for Visual C# 2010 Express Pin
arkiboys11-Mar-11 19:43
arkiboys11-Mar-11 19:43 
Hi,
1-
On my laptop, I have developed an application called MyApp in Visual C# 2010 Express which connects to sql server 2005 express.
Works fine.
2-
As you know there is no installation mechanism with c# 2010 express, so as a test, I copied all the files (.dll, .exe, pdb...) from the release folder and placed them into c:\program files(86)\MyApp
3-
When running the .exe in this folder, error is shown on the screen as "Login failed for user user1". Then when the continue button is clicked on the error message, the application form appears with all the controls but empty data.
4-
It seems there is a problem with the login to the sql server, BUT note that the login does exist in the sql server as the application works fine when I run it in the visual c# 2010 express environment when developing it.

5- In the application, there is a class library project (The .dll in this project) which uses the connectionstring in the app.config file.

What do y ou think the problem is please?
Thanks
AnswerRe: Deployment for Visual C# 2010 Express Pin
Luc Pattyn11-Mar-11 19:55
sitebuilderLuc Pattyn11-Mar-11 19:55 
GeneralRe: Deployment for Visual C# 2010 Express Pin
arkiboys11-Mar-11 19:59
arkiboys11-Mar-11 19:59 
AnswerRe: Deployment for Visual C# 2010 Express Pin
Luc Pattyn11-Mar-11 20:07
sitebuilderLuc Pattyn11-Mar-11 20:07 
AnswerRe: Deployment for Visual C# 2010 Express Pin
OriginalGriff12-Mar-11 2:34
mveOriginalGriff12-Mar-11 2:34 
GeneralRe: Deployment for Visual C# 2010 Express Pin
arkiboys12-Mar-11 5:10
arkiboys12-Mar-11 5:10 
GeneralRe: Deployment for Visual C# 2010 Express Pin
OriginalGriff12-Mar-11 5:16
mveOriginalGriff12-Mar-11 5:16 
GeneralRe: Deployment for Visual C# 2010 Express Pin
arkiboys13-Mar-11 11:55
arkiboys13-Mar-11 11:55 
AnswerRe: Deployment for Visual C# 2010 Express Pin
jschell13-Mar-11 10:01
jschell13-Mar-11 10:01 
GeneralRe: Deployment for Visual C# 2010 Express Pin
arkiboys13-Mar-11 11:56
arkiboys13-Mar-11 11:56 
QuestionSetup File Pin
Syed Shahid Hussain11-Mar-11 11:41
Syed Shahid Hussain11-Mar-11 11:41 
AnswerRe: Setup File Pin
thatraja11-Mar-11 12:50
professionalthatraja11-Mar-11 12:50 
GeneralRe: Setup File Pin
Syed Shahid Hussain11-Mar-11 13:10
Syed Shahid Hussain11-Mar-11 13:10 
AnswerRe: Setup File Pin
Dave Kreskowiak11-Mar-11 12:51
mveDave Kreskowiak11-Mar-11 12:51 
GeneralRe: Setup File Pin
Syed Shahid Hussain11-Mar-11 13:12
Syed Shahid Hussain11-Mar-11 13:12 
AnswerRe: Setup File Pin
Dalek Dave11-Mar-11 13:52
professionalDalek Dave11-Mar-11 13:52 
QuestionFinding controls [modified] Pin
Orcun Iyigun11-Mar-11 7:02
Orcun Iyigun11-Mar-11 7:02 
AnswerRe: Finding controls Pin
OriginalGriff11-Mar-11 9:09
mveOriginalGriff11-Mar-11 9:09 

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.