Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deploying Web Service
Message
De
08/04/2008 06:28:47
Ian Hammond
Greenfield Software Ltd
St. Neots, Royaume Uni
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Deploying Web Service
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01308945
Message ID:
01308945
Vues:
54
I am trying to deploy a web service and I seem to be stuck in a rut. I am getting various issues as described below:

I am creating the deployment package using the inbuilt Windows Installer in VS2005.
The dependencies in my msi project did not inclued MM Framework Automation 2005.dll and
MM Framework Web Forms 2005.dll. When I attempted to run the application after deployment I received a configuration error in the web.config file that it could not load MM Web Forms 2005 Version = 2.3.0.0. Fair enough this file had been put into the config file by default. I included this file into the msi project and in picked up the Automation dll, EnvDte.dll and VSLagProj.dll. When this was built I recieved the warnings stating

Unable to find depency ENVDTE (Signature 'B03F...........A3A' version =7.0.33.00) of assmebly VSLangProj.dll and similar message for MM Framework Automation 2005.dll.

Is this file part of the install set for Merr Mortals?

I tried removing the Web Forms assembly from the msi project, but when the web service is run I get an error in the App.cs file stating that it can't find the namespace myAppWeb.

Do you need the MM Framework Automation and MM Framework Web Forms for a web service, there are no UI defined? To test this theory I tried to create a new web service project, but I now get the error "Template attempted to load ab untrusted component "Mere Mortals Framework Wizard 2005, Version 2.3.0.0 etc." See documentation Customising Project Templates.

Perservering with the origianl msi project, I created a deployment file that reported the warnings for EnvDTE and including the Automation and Web Forms assmeblies and tried this to see what result I obtained: This time I received an error in my Global.asax file:

line 5 public static AppWeb App;

The type or namespace 'AppWeb' copuld not be found etc.


Could anyone suggest a reason why this error should occur?

This is my first experience at creating and deploying a web service, so any suggestions to any of the points above would be much appreciated, many thanks in advance.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform