[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

08/25/2008 at 03:19PM PDT, ID: 23676826
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.4

Error accessing COM dll from ASP.net website on 2003 Server, but not XP

Asked by PhyllisSmith in Microsoft IIS Web Server, Programming for ASP.NET, WebApplications

Tags: asp.net VB, all, http://cs2.csmiths.com, System.Runtime.InteropServices.COMException (0x800A0005): Invalid procedure call or argument at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[

I have been developing an ASP.net application (VB in VS 2005) which uses a COM dll to provide some base functionality.  On the development box (Windows XP SP3), I can run the code both in the IDE, and also through IIS after publishing it.  On the test server box (Windows 2003 SP2), when I get to the first call into the COM dll, I get the following error:

 System.Runtime.InteropServices.COMException (0x800A0005): Invalid procedure call or argument at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) at auctShared.clsProject.FillDS(String Folder, DataSet myDataSet) in C:\Documents and Settings\phyllis\My Documents\Visual Studio 2005\Projects\AuctionV3Online\auctShared\clsProject.vb:line 19

I would sincerely appreciate any pointers to how to solve the problem.  I'm thinking it may be related to IIS version and/or configuration, but I don't kow how to fix it, and haven't had any luck searching for similar issues.  You can see the problem if you go to the referenced link, and click the Login button.

Phyllis
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
Private colProjects As VBA.Collection
 
     Public Function FillDS(ByVal Folder As String, ByVal myDataSet As DataSet) As Boolean
        Dim blnReturn As Boolean = True
        Try
            m_objworkspace = New AuctDS.CWorkspace
            colProjects = m_objworkspace.AvailableProjects(Folder) '' This is line 19
 
AuctDS is the COM dll.
Here is the VB6 definition of AvailableProjects
Public Function AvailableProjects(ByVal strProjectLoc As String) As Collection
[+][-]08/26/08 07:16 AM, ID: 22314928

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/26/08 07:43 AM, ID: 22315298

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/26/08 08:11 AM, ID: 22315641

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/26/08 08:52 AM, ID: 22316122

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/26/08 12:36 PM, ID: 22318525

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/26/08 12:54 PM, ID: 22318709

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/26/08 02:27 PM, ID: 22319742

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/26/08 03:01 PM, ID: 22320118

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/27/08 07:20 AM, ID: 22325033

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft IIS Web Server, Programming for ASP.NET, WebApplications
Tags: asp.net VB, all, http://cs2.csmiths.com, System.Runtime.InteropServices.COMException (0x800A0005): Invalid procedure call or argument at Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[
Sign Up Now!
Solution Provided By: Rejojohny
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08/28/08 10:32 AM, ID: 22337428

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 / EE_QW_2_20070628