473,383 Members | 1,919 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,383 software developers and data experts.

Upgrade from VS2003 to VS2005 problems

Hello people,

We have a large application (about 5000 source files) consisting of multiple executables, DLLs and COM components written in C++.
We develop and build it in Visual Studio 2003.

I'm in charge of evaluating whether we want to migrate it to VS2005 (the previous migration from 6.0 to 7.1 was a pain).
So far, things do not look good.

I installed VS2005 on a VM, copied the sources over and tried to build the solution.

First, it wanted to migrate all the projects.
OK, so far - so good.

Then, when I tried a "build solution" it crapped out with heaps of errors and warnings.

The "deprecated" messages are a pain since adding the definitions to the projects only works sometimes.

But what bothers me more are errors such as this one:

midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)

Firing up process explorer, it looks like Visual Studio itself holds the s_tplate.tlb file open so, obviously, trying to build it results in "access denied" errors.

How do I solve this problem?
Best wishes,
Alex.

--
Address email to user "response" at domain "alexoren" with suffix "com"

Feb 11 '06 #1
6 5316
I'm in charge of evaluating whether we want to migrate it to VS2005
(the previous migration from 6.0 to 7.1 was a pain). From 6.0 to 7.1 or 7.0 was indeed pretty awful, since 6.0 was far from
standards compliant.
especially regarding template classes. from 7.1 to 8.0 I have had far less
problems for code that is standards compliant.
First, it wanted to migrate all the projects.
OK, so far - so good. migrating only converts the project files. not the source files.
The "deprecated" messages are a pain since adding the definitions to the
projects only works sometimes. The following macros can take care of that:
_CRT_SECURE_NO_DEPRECATE;_SECURE_ATL=0;_SECURE_SCL =0;_ATL_INSECURE_DEPRECATE(a);_ATL_DEBUG_INTERFACE S
you may want to use one or more of these, depending on what type of project
you have.
midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)

I don't know MIDL all that well, but MIDL2020 is not a specific access
denied error code, according to MSDN2:
"The type library could not be generated. One possible cause of this error
is specifying a path to the IDL file that is longer than 126 characters.
Oleaut32.dll does not support path names longer than 126 characters."

maybe there is another reason for that error?

--

Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"
Feb 11 '06 #2

Quote:
"Alex" <in******@online.nospam> wrote in message
news:ud**************@TK2MSFTNGP09.phx.gbl...
Hello people,

We have a large application (about 5000 source files) consisting of multiple
executables, DLLs and COM components written in C++.
We develop and build it in Visual Studio 2003.

I'm in charge of evaluating whether we want to migrate it to VS2005 (the
previous migration from 6.0 to 7.1 was a pain).
So far, things do not look good.

I installed VS2005 on a VM, copied the sources over and tried to build the
solution.

First, it wanted to migrate all the projects.
OK, so far - so good.

Then, when I tried a "build solution" it crapped out with heaps of errors
and warnings.

The "deprecated" messages are a pain since adding the definitions to the
projects only works sometimes.

But what bothers me more are errors such as this one:

midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)

Firing up process explorer, it looks like Visual Studio itself holds the
s_tplate.tlb file open so, obviously, trying to build it results in "access
denied" errors.

How do I solve this problem?
End Quote

I know that in MVC++ .net 2003 if I run a program in debug mode and it
crashes horribly when I end debug the program and try to compile I get a
similar error. If I bring up task manager with ctrl-alt-del I can see that
my program is still running as a process. I end the process, recompile and
all is well.
Feb 12 '06 #3
"Alex" <in******@online.nospam> wrote in message news:ud**************@TK2MSFTNGP09.phx.gbl...
But what bothers me more are errors such as this one:
midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)
Firing up process explorer, it looks like Visual Studio itself holds the s_tplate.tlb file open ...


I've noticed something similar.
I downloaded a multiproject solution. All projects source code
and *.vcproj's were in a common directory, all output binaries were
going to a common directory, and there were project dependencies.
I converted everthing up to VS2005. I tried to compile. There was a
project X which depended on project Y. Both X and Y wanted to create
the same build log file L. Compiling X would open L and lock it, then
since X depended on Y, compiling Y would attempt to open L on the
same directory and that is when the compilation failure happened.
The way out of the problem was to put each project into its own
directory hanging off the solution directory, which is my normal
best practice. Then the compilation went OK because although both
X and Y would open files named L, the two L's were now in different
directories.
You might check to see if something like that is happening to you.

Feb 12 '06 #4
Bruno van Dooren <br**********************@hotmail.com> wrote:
midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)

I don't know MIDL all that well, but MIDL2020 is not a specific access
denied error code


0x80070005 is "Access Denied"

Best wishes,
Alex.

--
Address email to user "response" at domain "alexoren" with suffix "com"
Feb 13 '06 #5
The problem still exists but I found some more information:

VS2005 definitely locks files because I got "access denied" errors when trying to _clean_ configurations.

Any suggestions?

Best wishes,
Alex.
Alex <in******@online.nospam> wrote:
Hello people,

We have a large application (about 5000 source files) consisting of multiple
executables, DLLs and COM components written in C++.
We develop and build it in Visual Studio 2003.

I'm in charge of evaluating whether we want to migrate it to VS2005 (the previous
migration from 6.0 to 7.1 was a pain).
So far, things do not look good.

I installed VS2005 on a VM, copied the sources over and tried to build the solution.

First, it wanted to migrate all the projects.
OK, so far - so good.

Then, when I tried a "build solution" it crapped out with heaps of errors and warnings.

The "deprecated" messages are a pain since adding the definitions to the projects only
works sometimes.

But what bothers me more are errors such as this one:

midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)

Firing up process explorer, it looks like Visual Studio itself holds the s_tplate.tlb
file open so, obviously, trying to build it results in "access denied" errors.

How do I solve this problem?


--
Address email to user "response" at domain "alexoren" with suffix "com"

Mar 22 '06 #6
Hi Alex,

In the current situation, I hope you can provide me a simplified sample,
which reproduces your issue so that I could debug it on our side. I think
it will help us get closer to this issue and be more effective to resolve
it.

Thanks for your understanding. Have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Alex" <in******@online.nospam>
References: <ud**************@TK2MSFTNGP09.phx.gbl>
Subject: Upgrade from VS2003 to VS2005 problems - locked files
Date: Wed, 22 Mar 2006 15:57:59 -0500
Lines: 53
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
Message-ID: <ON**************@TK2MSFTNGP11.phx.gbl>
Newsgroups: microsoft.public.vc.ide_general,microsoft.public.v c.language,microsoft.publi
c.dotnet.languages.vc,microsoft.public.vsnet.ideNNTP-Posting-Host: insystems.com 216.191.154.61
Path: TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
Xref: TK2MSFTNGXA03.phx.gbl microsoft.public.vc.language:243761 microsoft.public.dotnet.languages.vc:55254 microsoft.public.vsnet.ide:18589
microsoft.public.vc.ide_general:30345X-Tomcat-NG: microsoft.public.dotnet.languages.vc

The problem still exists but I found some more information:
VS2005 definitely locks files because I got "access denied" errors when trying to _clean_ configurations.Any suggestions?
Best wishes,
Alex.
Alex <in******@online.nospam> wrote:
Hello people,

We have a large application (about 5000 source files) consisting of multiple executables, DLLs and COM components written in C++.
We develop and build it in Visual Studio 2003.

I'm in charge of evaluating whether we want to migrate it to VS2005 (the previous migration from 6.0 to 7.1 was a pain).
So far, things do not look good.

I installed VS2005 on a VM, copied the sources over and tried to build the solution.
First, it wanted to migrate all the projects.
OK, so far - so good.

Then, when I tried a "build solution" it crapped out with heaps of errors and warnings.
The "deprecated" messages are a pain since adding the definitions to the projects only works sometimes.

But what bothers me more are errors such as this one:

midl\oleaut32.dll : error MIDL2020 : error generating type library :
SaveAllChanges Failed : .\../lib/s_tplate.tlb (0x80070005)

Firing up process explorer, it looks like Visual Studio itself holds the s_tplate.tlb file open so, obviously, trying to build it results in "access denied" errors.
How do I solve this problem?

--
Address email to user "response" at domain "alexoren" with suffix "com"


Mar 23 '06 #7

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

Similar topics

7
by: DaVBGuy | last post by:
I'm currently using VB 6 for windows based apps. Should I make the jump to VS.2003 now, or should I wait till (the final) VS.2005 release comes out later this year. If I have not started...
6
by: Brett | last post by:
I have a C# project created in VS.NET 2003. I tried to run it in VS.NET 2005. 2005 did a conversion. I see much VB code and VB style comments. I don't know what it did. Will a 2003 C# project...
18
by: Brett Romero | last post by:
I'm using VS.NET 2003 with Framework 1.1. I want to upgrade to VS.NET 2005 and Framework 2.0. I'd like to hear comments from people that have moved to the new platform with final releases of...
2
by: Scott R | last post by:
I have purchased the VS 2005 professional upgrade. I would like to remove VS 2003 prior to installation. If I uninstall VS 2003, how does VS 2005 know I qualify for the upgrade pricing?
0
by: ChrisM | last post by:
I have a project that is written in C# in VS2003, under Framework version 1.1. How much of an issue is it to upgrade to VS2005 Framework 2.0? Is it a case of simplying opening the project in...
4
by: Goofy | last post by:
I bought VS2003 in 2003 of course :) Now I want to upgrade but I was wondering when you install an upgrade if it A.) Requires that VS2003 be already installed B.) Overwrites it or allows...
5
by: Goofy | last post by:
I bought VS2003 in 2003 of course :) Now I want to upgrade but I was wondering when you install an upgrade if it A.) Requires that VS2003 be already installed B.) Overwrites it or allows...
0
by: fred64 | last post by:
Hello , I fought very hard and succeed to do a remote debug from a client with VS2003 on XP HOME to a Server with XP PRO. This is on a Workgroup : I created same user/pwd with admin rights...
2
by: david.topham | last post by:
Hi Can anyone help me with a project upgrade issue?: If you creeate a C# Windows application in VS 2003, then by default the forms do not have the XP look common controls. To get them, you...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...

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.