473,387 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Click Once VS2005 issues

CJ
Hi,

I have an issue with publishing an application using Visual Studio
2005 click once functionality. Firstly, my project was written using
the smart client software factory. In my case all this means is my
screen is formed using user controls which are called smart parts.
These user control just get added to the It also means that my
project references a few dll's which are all part of my smart client
application. Secondly, I'm publishing the project to my localhost so
it's not to an external webserver etc.

My issue is that when I publish this to a URL all I get is a blank
windows form when it's run. It works fine if I build and run the
application normally.

As I said, I can't get it deployed. I'm new to Click once so not sure
what to check. I did check the following:
- Checked the references in my project and the all seem fine
- Checked the prerequisites in the publish page of project
properties. Only .Net is selected, which seems to be fine.
- Checked the Shell_1_0_0_0 folder in my wwwroot and it seems to
contain all the dll's my project references
- Checked the shell.exe.manifest in Shell_1_0_0_0 and it seems to
reference all the required dlls

I don't know what to check outside of this. What confuses me is that I
get no errors when I run the app, just a blank windows screen. The
user controls are build in a project called "Interface.Module" and
this dll is referenced, copied to Shell_1_0_0_0, and referenced in the
Shell.exe.manifest file.

The one suspicious thing is an error I get the first time I load the
project into visual studio. Because smart clients use "workspace"
controls I have to reference a composite UI winforms dll to get these
controls. This works fine, but the one bad behaviour I have is that I
get an error everytime I load the project for the first time. The
error is:

Could not find type
'Microsoft.Practices.CompositeUI.WinForms.DeckWork space'. Please make
sure that the assembly that contains this type is referenced. If this
type is a part of your development project, make sure that the project
has been successfully built.

This occurs on the Form Designer of the main windows screen. But if I
close the screen and reopen it it all works fine again and I get no
errors?!? I checked the project file in notepad and it references
"Composite.WinForms" and points to it as being in "$(SolutionDir)
\Lib". I have checked the "$(SolutionDir)\Lib" folder and yes, it's
there. But I can't seem to stop this error appearing. Not sure if
fixing this error might fix my overall problem, but any suggestions
here too would be appreciated. I find it odd that this error would be
the problem if my app runs fine in normal build mode, but not in
published mode.

I'm at a serious head scratching phase here so any help is
appreciated! If I have explained anything badly, or you would like
more details, please just ask! I will try clarify any questions you
may have.

Thanks,
C.

Feb 20 '07 #1
2 1443
CJ
Sorry, I just realised that I should have posted this in the VS
section. will repost it.

Feb 20 '07 #2
CJ
Second attempt at posting a reply! I have reposted this issue on the
VSNet.General newsgroup. I only noticed a while ago that it probably
should be posted here.

Feb 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: clintonG | last post by:
I haven't installed VS2005 B2 yet. My main concern is installing VS2005 B2 on the XP Pro machine where VSN2003 already exists. Am I asking for trouble? Your comments... <%= Clinton Gallagher
56
by: Rob Dob | last post by:
VS2005 is a PIECE of Garbage and is bug Ridden, I wonder how many others feel the same, I am so sorry that I have moved away from VS2003, VS2005 is unstable, and half the stuff doesn't work, ...
12
by: docschnipp | last post by:
I have moved a project from VS2003 to VS2005 and now all references point to ..NET2.0 libs. How can I change this back to 1.1, but still use VS2005? I need this for compatibility reasons. ...
0
by: Mark | last post by:
Hi, We are a software company that wish to use Click-Once deployment to allow our customers to deliver smart clients to their worker's desktops. We have experimented successfully in-house...
5
by: =?Utf-8?B?UmljaA==?= | last post by:
Greetings, I have been using the Click Once deployment feature of VS2005 - very nice. I had IE6 at the time when I started using Click Once Deployment, and everything worked fine. But then my...
4
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, My workstation has been automatically updating IE6 to IE7. When this happens I have a problem with Click Once deployment (VS2005). What happens is that I can still publish applications...
8
by: =?Utf-8?B?UGV0ZXJX?= | last post by:
I install Visual Studio 2005 Pro on Vista. I open and migrate a 2003 web project to 2005. I attempt to browse an aspx file from the Solution Exploer. It displays a blank html page. I create a...
0
by: =?Utf-8?B?SWRhaG8gQmlsbA==?= | last post by:
Using VS2005 and Team Systems, I use Click Once to build and deploy my Windows Forms application from my desktop onto a network share. On the project's property page on the Signing tab, I check...
20
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.