9 Replies - 1372 Views - Last Post: 11 April 2013 - 05:56 PM Rate Topic: -----

#1 Adqusit  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 152
  • Joined: 02-March 13

How to ceate Setup File in Visual studio 2005

Posted 06 April 2013 - 04:06 AM

I've developed a small project in vb.net, using visual Studio 2005, Sql Server 2005 Standard. I used crystal Report in it too for reporting. Now i need to deploy this project on Customer Machine.

For this, I need to create a setup file, and deploy it on the client machine. Please guide me that how do i do this all.
Is This A Good Question/Topic? 0
  • +

Replies To: How to ceate Setup File in Visual studio 2005

#2 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1049
  • View blog
  • Posts: 4,076
  • Joined: 02-July 08

Re: How to ceate Setup File in Visual studio 2005

Posted 06 April 2013 - 07:18 AM

Do you have a Pro version or better? If so you use the Setup project from your New Project Type templates. Otherwise you can use a third party software - free or paid.
Was This Post Helpful? 0
  • +
  • -

#3 Adqusit  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 152
  • Joined: 02-March 13

Re: How to ceate Setup File in Visual studio 2005

Posted 06 April 2013 - 08:44 AM

Actually I'm worry about that how to add Crystal Report too in my project. Its new thing to me. I've searched out but nothing satisfying, I found.
Was This Post Helpful? 0
  • +
  • -

#4 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1049
  • View blog
  • Posts: 4,076
  • Joined: 02-July 08

Re: How to ceate Setup File in Visual studio 2005

Posted 06 April 2013 - 08:51 AM

CR must have a database engine to add to the project output - like SQL Server does. Or CR installed on user machine will be required to run the software.
Was This Post Helpful? 0
  • +
  • -

#5 Adqusit  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 152
  • Joined: 02-March 13

Re: How to ceate Setup File in Visual studio 2005

Posted 06 April 2013 - 08:12 PM

I searched the step by step procedure but couldn't find the related data on interent, so far.
Was This Post Helpful? 0
  • +
  • -

#6 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1049
  • View blog
  • Posts: 4,076
  • Joined: 02-July 08

Re: How to ceate Setup File in Visual studio 2005

Posted 06 April 2013 - 09:37 PM

Did you find this? Include CR with Deployment
Was This Post Helpful? 0
  • +
  • -

#7 Adqusit  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 152
  • Joined: 02-March 13

Re: How to ceate Setup File in Visual studio 2005

Posted 07 April 2013 - 06:55 AM

For Testing my application, i first installed on the system, available on my same network. Therefore, I used the following connection string:
public str as string = "Data Source = 192.168.1.2; Initial CAtalog = DB Name; User ID = xxxxx; Password = xxxxxxxxx;


It means that the application will be interacted to the DB, residing in my PC, over a same local network.
Did you get my point?

I've made the Crystal Report setup and the setup of my application. I installed both of them on client machine, where it gave error of lacking of .Net FrameWork. Then i downloaded and installed .Net FrameWork 3.0, I don't know whether it is right or not, but it made my application to be installed.

When i installed the setup properly, and open it so after few seconds, it gave me a nasty error, with Detail, Continue and Quit button. I pressed the continue and login form started.

Now When i insert the Name and Password and press the SignIn button, so it gives error that:

Object reference is not set to an instance of object

Please tell me that what is wrong with this now?
Was This Post Helpful? 0
  • +
  • -

#8 _HAWK_  Icon User is offline

  • Master(Of Foo)
  • member icon

Reputation: 1049
  • View blog
  • Posts: 4,076
  • Joined: 02-July 08

Re: How to ceate Setup File in Visual studio 2005

Posted 07 April 2013 - 12:04 PM

I have no idea without seeing some code. I don't think your connection string is right, but I'm not familiar with that setup. Check here.
Was This Post Helpful? 0
  • +
  • -

#9 BobRodes  Icon User is offline

  • Your Friendly Local Curmudgeon
  • member icon

Reputation: 574
  • View blog
  • Posts: 2,989
  • Joined: 19-May 09

Re: How to ceate Setup File in Visual studio 2005

Posted 07 April 2013 - 08:35 PM

If you're connecting via an IP address, you have to specify which network protocol you're using. For example, "Network Library = dbmss0cn" would specify tcp/ip. Have a look at this as well.
Was This Post Helpful? 0
  • +
  • -

#10 Adqusit  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 152
  • Joined: 02-March 13

Re: How to ceate Setup File in Visual studio 2005

Posted 11 April 2013 - 05:56 PM

Hi guys.
I've deployed the application on the client machine. I installed the application setup file and then i installed the Crystal Report setup and prior to both of them, I installed SQL Server on it.

When i double click on the application icon, so it gives me some error like this

Why it causes error?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1