Solved

dotnet studio conflicts with IIS5

Posted on 2002-03-22
8
284 Views
Last Modified: 2013-12-24
I've had some problems with VS.NET.  When running an aspx page with code behind the form on a vb page, I get an error that the namespace.class (namespace of the project and class of the vb page) cannot be loaded.  I resolved this by reinstalling IIS.  But then some Net Windows components are missing so I have to reinstall Windows components and the problem comes back again.  I expect I will continue reinstalling until I find the problem in the process. Anyone, seen this problem or know of a solution?
0
Comment
Question by:Jon_Raymond
  • 4
  • 2
8 Comments
 
LVL 10

Expert Comment

by:ptmcomp
ID: 6897858
I think either you didn't deploy all the files (referenced assemblies) or something is wrong with the namespaces you used. Try to build a new sample project with a button and a label where the button changes the text of the label. Same problem?
0
 
LVL 6

Author Comment

by:Jon_Raymond
ID: 6899868
When I create a new project as you suggest, it works fine.  The namespace should be the project name, right.  Then the calss should be the class on the Code Behind page.  So, if these aitems are in place what could be wrong?  I still get this error in my project:
Parser Error Message: Could not load type 'music._default'.
music is the project and _default is the calss in the Code Behind page.
0
 
LVL 10

Accepted Solution

by:
ptmcomp earned 200 total points
ID: 6900723
You can use any namespaces (e.g.:  namespace ExpertsExchange.InderDev.VSNET) But if you do so you need to include a using clause in the other modules (e.g.: using ExpertsExchange.InderDev.VSNET)
[Use the corresponding keywords for languagues different from C#.]
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 6

Author Comment

by:Jon_Raymond
ID: 6900794
Ok.  That helps but now I get "Parser Error Message: The server block is not well formed."  Could it be an IIS problem?
0
 
LVL 2

Expert Comment

by:DirkVe
ID: 7031379
Start with your initial solution (without the changes that ptmcomp proposed) and build you application first (via menu: Build > Build applicationName.

Check if you have a BIN-folder containing the file applicationName.DLL

Note: applicationName should be the name of your application.
0
 
LVL 6

Author Comment

by:Jon_Raymond
ID: 7031470
Yes the dlls are there.  Seems I can solve it by building a clean solution.  There may have been other solutions in the tree structure causing the problem.  If I create a new solution with no other solutions in it's tree the problem seems to disappear.
0
 
LVL 6

Author Comment

by:Jon_Raymond
ID: 9760438
May have been an early bug.  No problems with VS.Net 2003
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTML Editor That Indents Code As Illustrated 11 142
PHP v5.4 and Class 'mysqli' not found  error 8 177
Best code editor tool for PC 4 132
Column Spacing 3 111
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question