Hello guys, am having problem with clickonce deployment. I have been battling with this problem for a very long time. i am currently developing an application as my final year project in college. After completing the development on my pc, i tried to publish it on a friend laptop but alas the application could not connect to the database. but i have done all the necessary things during the design time, i used the Appdomain.CurrentDomain.SetData("DataDirectory","FullPath") but the application would not connect.
Below is the error message, i receive on my friend pc:
'an attempt to attach an auto-named database failed. A database with the same name exists, or
specified file cannot be opened, or it is located on UNC share '
4 Replies - 3813 Views - Last Post: 17 January 2013 - 07:01 AM
#1
My clickonce application could not work on another pc
Posted 08 December 2012 - 01:50 AM
Replies To: My clickonce application could not work on another pc
#2
Re: My clickonce application could not work on another pc
Posted 08 December 2012 - 03:18 AM
Hello kinsmann
I would like to tell you that the 'Introduce Yourself' forum is not used for posting technical questions. It is for introducing yourself to the members of this forum.
Never mind, can you please tell us what language is your application programmed in so that a mod will be able to move this post to the appropriate forum...or do you want to post this in the software development forum?
regards,
Raghav
I would like to tell you that the 'Introduce Yourself' forum is not used for posting technical questions. It is for introducing yourself to the members of this forum.
Never mind, can you please tell us what language is your application programmed in so that a mod will be able to move this post to the appropriate forum...or do you want to post this in the software development forum?
regards,
Raghav
#3
Re: My clickonce application could not work on another pc
Posted 08 December 2012 - 09:10 AM
Moved to .NET Development
#4
Re: My clickonce application could not work on another pc
Posted 08 December 2012 - 10:16 AM
raghav.naganathan, on 08 December 2012 - 03:18 AM, said:
Hello kinsmann
I would like to tell you that the 'Introduce Yourself' forum is not used for posting technical questions. It is for introducing yourself to the members of this forum.
Never mind, can you please tell us what language is your application programmed in so that a mod will be able to move this post to the appropriate forum...or do you want to post this in the software development forum?
regards,
Raghav
I would like to tell you that the 'Introduce Yourself' forum is not used for posting technical questions. It is for introducing yourself to the members of this forum.
Never mind, can you please tell us what language is your application programmed in so that a mod will be able to move this post to the appropriate forum...or do you want to post this in the software development forum?
regards,
Raghav
Thanks Raghav, am sorry for posting it @the wrong place am still a newbie here. Am writing the application with vb.net
I don't know how to move this topic to the right forum
#5
Re: My clickonce application could not work on another pc
Posted 17 January 2013 - 07:01 AM
Of Course It will say you that.
Add app.config File to your project.
Problem solved.
Add app.config File to your project.
Problem solved.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote




|