CodeVerge.Net
Beta
Explore
Item Entry
Members
Register
Login
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML
Free Download:
Zone:
>
NEWSGROUP
>
Asp.Net Forum
>
visual_studio.vs_web_deployment_projects
Tags:
Item Type:
NewsGroup
Date Entered:
6/16/2006 2:24:43 PM
Date Modified:
Subscribers:
0
Subscribe Alert
Rate It:
(NR, 0)
XPoints:
N/A
Replies:
1
Views:
19
Favorited:
0
Favorite
Can Reply:
No
Members Can Edit:
No
Online:
Yes
2 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
Zürcher See
Asp.Net User
Error in web deploy project whit profile's properties
6/16/2006 2:24:43 PM
0/0
When in the web config file there are some profile's properties the deploied web dll will generate the following error:
CS0433: The type 'ProfileCommon' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7b6d6116\c98e92b8\assembly\dl3\c65d681f\4c71788f_4091c601\xxxxxxxxxxx.DLL' and 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7b6d6116\c98e92b8\App_Code.huffczir.dll'
That because .NET try as usual to create the ProfileCommon class on the runtime with the properties specified in the web config file, but the web deploied dll contains already a ProfileCommon class!
To avoid this error you can remove all the profile properties from the web config file on the live / productive server, so .NET will not try to generate the ProfileCommon class, but this is not the expected solution, also because for the user profile will not used the ProfileCommon class in the web deploied dll but the usual DefaultProfile class.
Or you can remove all the profile properties from the web config file before create the web deploy dll, and so the deploied dll will not contain the ProfileCommon class, and .NET can generate it on the runtime with the specified properties in the web config file.
But everytime remove all the profile's properties before compile the web deploy project and add them again after it is a quite annoying task!
Regards
Mark_K
Asp.Net User
Re: Error in web deploy project whit profile's properties
8/14/2007 8:25:49 AM
0/0
Hi. Did you ever find a solution to this problem?
Thanx, Mark
2 Items, 1 Pages
Sort By
Date Dsc
Date Asc
Votes Dsc
Votes Asc
1
|<
<<
Go
>>
>|
Free Download:
Web:
Error in web deploy project whit profile's properties - ASP.NET Forums
Error in web deploy project whit profile's properties ... Channel 10: /web: Microsoft’s New Site For Web Professionals. Silverlight ...
Error in web deploy project whit profile's properties - ASP.NET Forums
Error in web deploy project whit profile's properties. Last post 08-14-2007 4:25 AM by Mark_K. 1 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
TheMSsForum.com >> Asp >> web deployment, dll's and .compiled ...
NET Files" I have a VS 2003 VB web project which works fine, in IE, debug. ..... Profiles - extend property attributes? Hi all, I'm using the new profile ...
Lakshmi's articles on .NET: ASP.NET 2.0 Deployment : Installer for ...
Make sure the Web Deployment Project is added to the Web project and the settings are ... These are precisely the properties we use in the InstallerClass . ...
Deploying a Web Application
In the WAR Deployment Profile Properties dialog, select the General node. In the Web Application’s Context Root, select the Specify J2EE Web Context Root ...
Common Web Project Conversion Issues and Solutions
Note in the next release of the Web project migration wizard, this error will be .... See the "Visual Studio 2005 Web Deployment Projects" white paper on ...
Deploying IBM Lotus Connections: Branding and customization
Aug 28, 2007 ... profiles.ear/peoplepages.war/WEB-INF/lib/peoplepages.web.jar .... The key in the property file contains the error message to display when ...
Lakshmi's articles on .NET: ASP.NET 2.0 Deployment : Installer for ...
The new Web Deployment gets added to your Solution. 4. Right click the new project and then click Property Pages. 5. In the Configuration Properties ...
MOSS 2007 Employee Directory web part using Search and Data View ...
Central Admin -> Shared Service Provider -> User Profiles and Properties .... a webpart project, and then deploying the dll, adding it to safe control, ...
Compilation and Deployment in ASP.NET 2.0
Talks about stock projects, as well as Web Deployment Projects and Web ... NET 2.0 it’s possible to mix .NET languages in a single Web project so you can ...
Search This Site:
Invite
History
Resources
SiteMap
how to...... install
web parts, ajax, asp.net 3.5 and drag and drop
ripped off, cannot create partial class on stongly type dataset in vsw express!
helloworld tutorial part 2 - c#
how do i access variable defined in sub page_load
locked out of login page
error the moment i open file in visual web development 2005 express edition
i'm in trouble...
custom calendar control
symmetric key encryption and decryption using rijndael algorithm ??
dnn 2.3 beta installation
timespan - no way to format ?
zip libary
passing variables to new aspx page using hyperlink column from a datagrid
search for a new "search results" module...
whos online?
system.net.sockets.socketexception
dnn 4.02 dataprovider type initialization problem
treeview single node only
should i stay or should i go?
isapproved in web.config, how??
references to dataset break after converiting from web site to web application project
partially trusted callers exception from asp.net.
dnn as an email listserv
liquid platinum weblog module v1.1 released
refresh button resends information
converting string to an integer
continually redirected back to http://localhost/dotnetnuke/default.aspx
employee info starter kit: combining asp.net 2.0 best pratices
tab control runs on localhost, but not on server
All Times Are GMT