Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 23-12-2008, 10:10 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2007
Posts: 19
Question C# Project Problem Challenge.


I m prepare the project on the C#.NET 2005 (Framework 2.0) with SQL SERVER 2005.I 'm facing some problems in my old project I hope so try to sort out. The problems are:

1.I created a windows application project in C#.NET(VS 2005) with framework 2.0 and used SQL SERVER 2005 as back end and deployed the application.My VS project is in one location(drive say F:,D and database files(.mdf & .log) is in another location (say C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\).
If i am running the set up in the same system its working good but When i run the setup it in the other system its working partially and the error is occuring while the form is opened which uses the database(tables).So please anyone suggest how to add the database file ? and give the other solution for this problem. Guide me how to attach and make perfect installer like games,sound driver with how to attach the database inside the appliaction do it

2. Problem first to check the resolution of the screen like 1024x768(17" monitor) or 800x600(as15" monitor) and adjust the form's at the load time.Give some examples with code.

3. The database have some problem in the connection at the of the software(after deploying). The running software hang and close by the Task Manager.

4. To check the system requirement before installing the software made by me.It is checking in the system .NET Framework 2.0 and SQL Server 2005 installed it installed otherwise installed. I means that I want to combine essential components in the installer; When install the software on some other system.

5. In the Crystal Reports I want to show individual record of the with details.For example when i want to show the Company's each employee record with specific detail such as name,id,phone etc.

6. How to insert the feature when minimize or cancel the window of the software may be minimize in system tray icon.Such as the Software in the utorrent which is minimise in the system tray icon on cancel or minimize.

Please Reply if anyone Known.Give the specific details.on the goel.suraj@gmail.com.Otherwise reply the post.

Last edited by goel.suraj; 24-12-2008 at 11:20 PM.
goel.suraj is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 24-12-2008, 11:49 AM   #2 (permalink)
In The Zone
 
ruturaj3's Avatar
 
Join Date: Feb 2007
Location: Mumbai
Posts: 214
Default Re: C# Project Problem Challenge.

1st add the database to ur project. After adding It will be shown in solution explorer. And if possible copy database files to ur project folder. U can then giv path by coding. And it will run on any pc on any drive. U can create setup of ur project by, File -- Add -- New Project -- under project types - other project types -- setup project. Here u can setup registry if u want, check for sys. requirements. Refer to msdn for more info.

And i never develop full screen apps. bcoz we need scale r form according to resolution so i dont know that. I also dont know abt reports.

Answer to ur 6th ques - NotifyIcon (in toolbox).

Regards,

RUTURAJ
ruturaj3 is offline  
Old 24-12-2008, 11:51 PM   #3 (permalink)
Right Off the Assembly Line
 
Join Date: Mar 2007
Posts: 19
Default Re: C# Project Problem Challenge.

Thanks for reply the question but I'm trying this one many i face the problem and shows this message

An error occured while establishing a connection to the server. When connecting the SQL Server 2005, the failure may caused by the fact that under the default settings SQL does not allow remote connections. (provider. SQl Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

If u have the solution to sort out this problem please help me.
goel.suraj is offline  
Old 25-12-2008, 02:30 AM   #4 (permalink)
Alpha Geek
 
Krazy_About_Technology's Avatar
 
Join Date: Jun 2004
Location: Noida - India
Posts: 765
Default Re: C# Project Problem Challenge.

The problem can be sorted out by the way ruturaj described, i guess you need to study c# more deeply. Also, i would suggest that if your database is not going to be very big and you need limited reporting capabilities you can also try using SQL Server Compact Edition, which can be deployed very easily and takes up around 11-15 MB of space i guess.
__________________
Dell Inspiron 1525 - C2D 2 Ghz, 3GB, 250GB, X3100 :)

Samsung Omnia Pro B7610 with Stock WM 6.1 ROM

Blog: http://www.sumitbhardwaj.co.in/blog
Krazy_About_Technology is offline  
Old 05-01-2009, 06:15 PM   #5 (permalink)
Right Off the Assembly Line
 
Join Date: Jan 2009
Posts: 2
Default Re: C# Project Problem Challenge.

Error Locating Server/Instance Specified - Are you sure your connection string is right? As ruturaj said, make sure you can open DB in Visual Studio and see it with solution explorer.

BTW, there is a nice C# and SQL reference quides available for free download here >>, I would strongly recommend to read them to understand how the things work.

Ashok

-----------------------------------------------------------------------
Are there patterns in the interviews?
ashokm is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Thief:the dark project - installation problem quad_master Gamerz 4 24-07-2008 12:15 PM
Project IGI graphics problem ComputerUser Software Q&A 4 13-03-2008 09:02 PM
A Good Project in PHP for my college project debiprasad_sahoo Open Source 8 15-12-2006 05:31 PM
problem in project vinaypatel QnA (read only) 2 26-07-2005 10:54 PM
Project IGI [Project Repair] upendra_gp Gamerz 6 12-06-2005 09:28 AM

 
Latest Threads
- by gforz
- by soumya
- by Sujeet
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2