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

ASP -- Server.CreateObject("MSWC.NextLink" problem on Vista with IIS 7

Hi All:

I just setup a new machine with Vista Business Edition and IIS 7.
I had to turn on IIS 7 attributes including the IIS Manager. Not sure what
options I needed I turn them all on that even remotely look like I might
need them.

The IIS Manager looks total foreign to me but eventually I figure how to add
a virtual folder. I then started making script files in html, javascript and
vbscript. I would run them through IIS 7 using the URL:
http://localhost/../filename. This all worked fine and I was able to try
most of the code that I had used on IIS 6 under XP.

I then start adding ASP server-side calls to the script. I tried several
objects: Request, Response..etc. and they worked fine. The problem started
when I started using the Server object.

In particular when I added the line:

objCLC = Server.CreateObject("MSWC.NextLink")

When I add this line the Web Browser indicates that there is server problem.
I believe that these calls are from an activex object so is it possible that
somewhere in the IIS 7 configuration I haven't allow permission for activex
objects?

Any help will be greatly appreciated

Jul 16 '07 #1
12 7433
make sure Nextlink.dll is installed on the machine


Jul 16 '07 #2
Hi Jon:

I did check for it in the system32 folder and it was not their. Is there
somewhere else I should look?
Also, if it is not there what do I do to get installed. I have Vista
Business Edition and in the install/open section under the Control Panel I
checked all the options including "ASP.NET", shouldn't that install it ?

"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comwrote in message
news:13*************@corp.supernews.com...
make sure Nextlink.dll is installed on the machine


Jul 16 '07 #3
John wrote on Mon, 16 Jul 2007 10:17:30 -0400:
Hi All:

I just setup a new machine with Vista Business Edition and IIS 7.
I had to turn on IIS 7 attributes including the IIS Manager. Not sure what
options I needed I turn them all on that even remotely look like I might
need them.

The IIS Manager looks total foreign to me but eventually I figure how to
add a virtual folder. I then started making script files in html,
javascript and vbscript. I would run them through IIS 7 using the URL:
http://localhost/../filename. This all worked fine and I was able to try
most of the code that I had used on IIS 6 under XP.

I then start adding ASP server-side calls to the script. I tried several
objects: Request, Response..etc. and they worked fine. The problem started
when I started using the Server object.

In particular when I added the line:

objCLC = Server.CreateObject("MSWC.NextLink")

When I add this line the Web Browser indicates that there is server
problem. I believe that these calls are from an activex object so is it
possible that somewhere in the IIS 7 configuration I haven't allow
permission for activex objects?

Any help will be greatly appreciated
The MSWC components were part of the old IIS Resource Kit installation, they
are not shipped with IIS. They were also part of PWS. Unless you can find
the old installation for IIS4 you won't be able to get this running on your
IIS7 setup, and even if you do find the old installation files there's no
guarantee that they'll work.

Dan
Jul 17 '07 #4
these folks may be able to help with iis7 and classic asp questions

http://forums.iis.net/1044.aspx
Jul 17 '07 #5
Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createobject or is
next link the only case?

I did look on my XP machine which I believe has IIS5 and the nextlink dll is
there. As far I know I didn't install a IIS SDK to make this happen. It is
possible that I have put a VS SDK on this machine at some time. Maybe there
is IIS7 SDK ?
"Daniel Crichton" <ms****@worldofspack.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
John wrote on Mon, 16 Jul 2007 10:17:30 -0400:
Hi All:

I just setup a new machine with Vista Business Edition and IIS 7.
I had to turn on IIS 7 attributes including the IIS Manager. Not sure
what
options I needed I turn them all on that even remotely look like I might
need them.

The IIS Manager looks total foreign to me but eventually I figure how to
add a virtual folder. I then started making script files in html,
javascript and vbscript. I would run them through IIS 7 using the URL:
http://localhost/../filename. This all worked fine and I was able to
try
most of the code that I had used on IIS 6 under XP.

I then start adding ASP server-side calls to the script. I tried several
objects: Request, Response..etc. and they worked fine. The problem
started
when I started using the Server object.

In particular when I added the line:

objCLC = Server.CreateObject("MSWC.NextLink")

When I add this line the Web Browser indicates that there is server
problem. I believe that these calls are from an activex object so is it
possible that somewhere in the IIS 7 configuration I haven't allow
permission for activex objects?

Any help will be greatly appreciated

The MSWC components were part of the old IIS Resource Kit installation,
they
are not shipped with IIS. They were also part of PWS. Unless you can find
the old installation for IIS4 you won't be able to get this running on
your
IIS7 setup, and even if you do find the old installation files there's no
guarantee that they'll work.

Dan


Jul 17 '07 #6
John Connic wrote:
Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support ASP

No, what he is saying is it might not support "stuff" that was included
after-the-fact, such as the MSWC components. I've been developing with
ASP for years and i've never used these things.

And given the new ASP.Net world, you are unlikely to get much sympathy
for the failure to support deprecated components.
and that there is some other mechanism for creating
objects!
Huh? How did you come to that interpretation?
Is this also true that you can not create any objects with
server.createobject or is next link the only case?
Read what he said closely: NextLink _might_ be _one of_ the relevant
cases. The only way to find out is to make sure it is properly
installed.
Server.CreateObject works fine for properly installed, supported, dlls
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 17 '07 #7
John wrote on Tue, 17 Jul 2007 08:45:58 -0400:
Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createobject or
is next link the only case?
IIS7 doesn't ship with the MSWC components. I use ASP and
Server.CreateObject without problems on IIS7 and IIS6 - but I know that I
don't have the MSWC components, so I know that calls to those won't work.
IIS fully supports ASP - but it doesn't let you instantiate components if
they're not installed!
I did look on my XP machine which I believe has IIS5 and the nextlink dll
is there. As far I know I didn't install a IIS SDK to make this happen. It
is possible that I have put a VS SDK on this machine at some time. Maybe
there is IIS7 SDK ?
Are you sure you didn't install the components from elsewhere on that other
machine? I have XP on my PC right here and there is no nextlink.dll, and I
do have IIS5 installed. I haven't installed the SDK, or the Resource Kit
tools.

Dan
Jul 17 '07 #8

"Daniel Crichton" <ms****@worldofspack.comwrote in message
news:Oe**************@TK2MSFTNGP02.phx.gbl...
John wrote on Tue, 17 Jul 2007 08:45:58 -0400:
>Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createobject or
is next link the only case?

IIS7 doesn't ship with the MSWC components. I use ASP and
Server.CreateObject without problems on IIS7 and IIS6 - but I know that I
don't have the MSWC components, so I know that calls to those won't work.
IIS fully supports ASP - but it doesn't let you instantiate components if
they're not installed!
>I did look on my XP machine which I believe has IIS5 and the nextlink dll
is there. As far I know I didn't install a IIS SDK to make this happen.
It
is possible that I have put a VS SDK on this machine at some time. Maybe
there is IIS7 SDK ?

Are you sure you didn't install the components from elsewhere on that
other machine? I have XP on my PC right here and there is no nextlink.dll,
and I do have IIS5 installed. I haven't installed the SDK, or the Resource
Kit tools.
Mine appears in C:\Windows\system32\inetsrv on XP Pro with IIS 5.1. I
didn't knowingly install the SDK, unless it goes in as part of the full
install for IIS.

--
Mike Brind
Jul 17 '07 #9

"John Connic" <jo*********@ngc.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
>
Now to issue at hand, do you or one of your Microsoft cronies know where I
can get this nextlink.dll that is causing the problem. Now from what Dan
told me the server.createobject(..) construct appears to work OK but not
with "MSWC.NextLink".
You can google 'nextlink.dll', and plenty of sites offer downloads:
http://www.dllbank.com/n/nextlink.dll-download.html, for example. Or you
can find an older machine that has it and copy it from there, registering it
on your new machine.

Server.CreateObject("...") will work for any installed and registered dll,
as Bob said.

MSWC was never "part of" ASP. It was a library of components that you could
use from ASP. That's why you have to use the built-in ASP Server object to
instantiate objects from the MSWC library.

--
Mike Brind
Jul 17 '07 #10
"Bob Barrows [MVP]" wrote:
>Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support ASP

No, what he is saying is it might not support "stuff" that was
included after-the-fact, such as the MSWC components. I've been
developing with ASP for years and i've never used these things.
This was my initial reaction, as well. But then I saw this:

Deprecated and Obsolete IIS Features

IIS 7 will no longer support the following features found in
version 6:

The ASP Content Rotator and Nextlink components are
unavailable because these are rarely used items.

http://msdn2.microsoft.com/en-us/lib...nfoser_topic10
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.

Jul 17 '07 #11
Hi Mike:
I have the same situation and don't remember installing any extra SDK's or
libraries there.

"Mike Brind" <pa*******@hotmail.comwrote in message
news:ux**************@TK2MSFTNGP04.phx.gbl...
>
"Daniel Crichton" <ms****@worldofspack.comwrote in message
news:Oe**************@TK2MSFTNGP02.phx.gbl...
>John wrote on Tue, 17 Jul 2007 08:45:58 -0400:
>>Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createobject
or
is next link the only case?

IIS7 doesn't ship with the MSWC components. I use ASP and
Server.CreateObject without problems on IIS7 and IIS6 - but I know that I
don't have the MSWC components, so I know that calls to those won't work.
IIS fully supports ASP - but it doesn't let you instantiate components if
they're not installed!
>>I did look on my XP machine which I believe has IIS5 and the nextlink
dll
is there. As far I know I didn't install a IIS SDK to make this happen.
It
is possible that I have put a VS SDK on this machine at some time. Maybe
there is IIS7 SDK ?

Are you sure you didn't install the components from elsewhere on that
other machine? I have XP on my PC right here and there is no
nextlink.dll, and I do have IIS5 installed. I haven't installed the SDK,
or the Resource Kit tools.

Mine appears in C:\Windows\system32\inetsrv on XP Pro with IIS 5.1. I
didn't knowingly install the SDK, unless it goes in as part of the full
install for IIS.

--
Mike Brind
Jul 18 '07 #12
Mike wrote on Tue, 17 Jul 2007 18:51:47 +0100:
>
"Daniel Crichton" <ms****@worldofspack.comwrote in message news:Oe**************@TK2MSFTNGP02.phx.gbl...
>John wrote on Tue, 17 Jul 2007 08:45:58 -0400:
>>Hi Dan:

Thanks for your help. So what you are saying IIS 7.0 doesn't fully
support
ASP and that there is some other mechanism for creating objects! Is this
also true that you can not create any objects with server.createobject
or is next link the only case?

IIS7 doesn't ship with the MSWC components. I use ASP and
Server.CreateObject without problems on IIS7 and IIS6 - but I know that I
don't have the MSWC components, so I know that calls to those won't work.
IIS fully supports ASP - but it doesn't let you instantiate components if
they're not installed!
>>I did look on my XP machine which I believe has IIS5 and the nextlink
dll is there. As far I know I didn't install a IIS SDK to make this
happen. It is possible that I have put a VS SDK on this machine at some
time. Maybe there is IIS7 SDK ?

Are you sure you didn't install the components from elsewhere on that
other machine? I have XP on my PC right here and there is no
nextlink.dll, and I do have IIS5 installed. I haven't installed the SDK,
or the Resource Kit tools.
Mine appears in C:\Windows\system32\inetsrv on XP Pro with IIS 5.1. I
didn't knowingly install the SDK, unless it goes in as part of the full
install for IIS.

I searched for that DLL yesterday and nothing came up. I just checked that
folder and it is in there :/

It's also on my Windows 2003 Server and Windows 2000 Server IIS machines, so
I guess it was dropped from IIS7 - or the file gets installed but not
registered.

Dan
Jul 18 '07 #13

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

Similar topics

13
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all...
18
by: =?Utf-8?B?Tm9ybUQ=?= | last post by:
I have created a three tier application consisting of Client (Exe and Exe.Config), Middle (WebServices) and Database tiers. The Client tier contains an Exe, an Exe.Config and a dynamic Web...
3
by: ianforgroupuse | last post by:
I'm running Vista Business edition on 2005 Virtual PC. Installed SQL Server 2005 Express latest download, with instance of MSSQLSERVER and service accounts running under "NT AUTHORITY\SYSTEM"....
3
by: sgottenyc | last post by:
Hello, Has anyone had any success running SQL Server Express on Vista with Apache via PHP? My PHP works fine, Apache works fine, and SQL Server Express works fine in Management Studio, but I...
1
by: =?Utf-8?B?TUsgSm9obg==?= | last post by:
Hi, I'm fairly new to Vista and was wondering if it is possible to administer a DNS server on Vista (if one is available) using .Net? I have used the System.Management namespace for DNS...
2
by: gamiravi.d | last post by:
Hi, I have one c++ application to get number of monitors from system. I am calling .exe of c++ application using java api through tomcat server in browser on window vista. right now I have two...
0
by: Michel Vanderbeke | last post by:
Hello, Are Visual Studio 2005, Visual Studio 2008, SQL Server 2005 and SQL Server 2008 working fine on Windows Vista x64 or are there special versions of that software to run under Windows Vista...
9
by: star-italia | last post by:
Hi, I have a big problem: I am developing a WPF application on Windows Vista SP1 Based on the .NET Framework 3.5 and WPF. In my application I use a WIndowsFormsHost to (of course) host a...
4
by: Hrsoft | last post by:
Dear Friends My developer environmment has a Windows 2000 SP4 Server, and I can´t to update to 2003 or 2008, for reasons of... money. But, I need to install in this 2000 Server SP4 the...
0
by: IT Couple | last post by:
Hi 1) Question one I'm installing SQL Server 2008 Enterprise Edition on Windowds XP (remotely) and in the 'readme' file it tells me to install SP1 first and then SQL Server 2008 but when I try to...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank 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...

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.