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.manif est 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.Modu le" and
this dll is referenced, copied to Shell_1_0_0_0, and referenced in the
Shell.exe.manif est 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.Prac tices.Composite UI.WinForms.Dec kWorkspace'. 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.WinF orms" and points to it as being in "$(Solution Dir)
\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. 2 1462
Sorry, I just realised that I should have posted this in the VS
section. will repost it.
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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, Microsft has spent so
much time trying to make it simply that when you try to do something useful
with it it doesn't work...
Half the time it crashes, and menu items appear for things you cannot do.
For example, Go into component designer, ...
|
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.
thanks
doc
|
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 with publishing our
application from VS2005 to local web servers, and have tested the
download, installation and upgrade proceedures.
|
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 workstation got upgraded to IE7, and now
whenever I deploy an application and IE7 comes up for the Install page - it
just says "Connecting..." and just hangs, and then I have to manually end the
program. I did not have this problem with IE6. Are...
| |
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 - which brings up IE. In IE6 this
would bring up IE to the install page of the deployed app
(server\...\publish.htm). Now it just brings up IE7 and hangs. It will say
"connecting..." and just hangs there so I have to close down IE and I get the...
|
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 master page with 3 content placeholders. I create a WebForm that
uses the master and then browse it to have a look. I get an empty html page.
I change from the IIS to the internal server. No change. Only displays
blank page.
|
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 the Sign the ClickOnce
manifests check box. The certificate indicates it was issed to and by me
with Intended Purpose = <alland an expiration date one year from today.
The process deploys the app properly and users can download and install/run
it....
|
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 go with VS2005 and I am trying to convince to buy VS2008.
Can somebody provide links to compare 2 products in terms of how stable they
are. I do not need VS2008 new features, I need to prove to my management
that VS2008 is a stable product.
TIA
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |