Rick Strahl's FoxPro and Web Connection Web Log

My Links
Blog Stats
Archives
October 2008 (2) September 2008 (2) August 2008 (1) July 2008 (4) June 2008 (2) May 2008 (2) April 2008 (1) March 2008 (4) February 2008 (2) December 2007 (1) October 2007 (1) September 2007 (2) August 2007 (2) July 2007 (2) June 2007 (3) May 2007 (1) April 2007 (1)
West Wind News
West Wind Web Connection 5.40 Beta released
Oct. 7, 2008
West Wind Technologies has released a beta version of Web Connection 5.40 as a preview to a host of new features. This update many small...

West Wind Html Help Builder 4.49 released
Sep. 2, 2008
West Wind Technologies has released version 4.49 of West Wind Html Help Builder. Help Builder is a solution to produce documentation for end user...

Web Connection Training At Southwest Fox: Deadline Reminder
Aug. 29, 2008
West Wind Technologies will be presenting a West Wind Web Connection Training event again this year at Southwest Fox in October. The dates are...

  


Login
Please enter a Username and Password.
Username:
Password:

Use weblog/test to access the Administration features.


Show last 50 comments

re: Showing Windows AutoComplete Dropdowns in Visual FoxPro
08/06/08 12:53am | by Rick Strahl

@Craig - not that I know of. I looked around other controls like the Microsoft Forms controls but it didn't work or fit right. There might be third party controls but I didn't want to include them.

The security issue is not really a problem for a desktop app but only when running inside of a hosted and limited security environment like VBA, Office etc... VFP desktop full trust apps shouldn't be affected by this issue.

re: Showing Windows AutoComplete Dropdowns in Visual FoxPro
07/31/08 07:42am | by Craig Roberts

Rick. You are using RichTextCtrl which has security problems - http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=69256&SiteID=1 Is there a better OLE object to use in 2008 with VFP 9?

Thanks for ALL of your great contributions.

Re: Other reasons
06/15/08 04:32am | by Rick Strahl

@Christof - Yeah I'm aware of a couple of these and in this case we're not explicitly using paths or extensions anywhere so that's not it. Names are also all valid.

My guess is SET PATH can be a problem because there are several paths that include large numbers of files - possibly there's some OS search limit that's tripped in one of the application's library paths.

But what is odd about that is the problem of the COM server being radically slower than the EXE file running standalone for processing effectively the same code. I've never seen this before and I can't make sense of it. <shrug>

Other reasons...
06/11/08 10:57am | by Christof Wollenhaupt

When doing tests for AFP I found that there even more factors that affect the performance of calling PRG files:

1) It's faster if you don't specify the path nor extension. Add any of these (eg. DO prgs\myprog or DO myprog.PRG) it's getting slower.

2) If the file name is a valid FoxPro name (starts with alpha or underscore, followed by up to 127 alphas, digits or underscores) and only uses ANSi codes below 128, it's significantly faster.

3) SET PATH TO can affect performance either way.

4) Performance dramatically depends on the number of files in the SET PROCEDURE line. In fact, the differences in my tests were huge enough that I considered moving all of the code in AFP into one PRG file when building the project instead of having one PRG files for every class, basically.

Christof

Finding memory leak in COM Server
06/10/08 08:04am | by Darren

any idea how to do this in a COM Server? Clearly SET STEP ON isn't an option! :(
Re: Some new features coming in Web Connection 5.37
05/30/08 09:29pm | by Jorge Mota

Nice Rick! I am using OnClientActivate a lot!
Re: Watch out for _VFP/Application Object hangs with VFP 9 SP2 Installations
05/09/08 03:57am | by Andrew

Thanks Rick - I originally read this post and said "OK good to know" but then I was just recently working with some COM automation and my VFP servers kept on coming back with "execution failed".

Sure enough - that was it.

Re: Running Web Connection on 64 bit IIS
04/30/08 01:48am | by Ruben

Hi Rick

I read some post about 32 bits mode running on 64 bits Windows 2003 Server and "Enable32bitAppOnWin64 true" trick. But the result of this is a "Service Unavailable" in a lot of environments. There are not documentation to this error in MSDN or Microsoft Forums. Could you confirm this situtation?

Thanks :)

Re: Detecting hung Objects in Visual FoxPro
04/25/08 05:41am | by harvey mushman

Thanks, this has come up before. I like the debug, set step on trick. Very clever!<g>

--hm

Re: Unicode to ANSI Translation in VFP 9.0 - Sys(987)
03/28/08 02:51am | by Hamlet Kraskian

Hi Rick,
Thank you for your valuable advices on foxpro.
I've a problem
1- I have a table (.dbf) were I've stored unicode data.
2- When I use save as html in browse window I get unicode html as I expect.
3- When I use a report to creating html (or any other listener) I recieve garbage fonts instead of unicode.

How I can change rendering of text object whithout any translation of unicode

Re: Web Connection on IIS 7 and Vista
03/19/08 05:25pm | by David Jones

I am getting error 404.4. thjis error indicates that "The resource you are looking for does not have a handler associated with it." How do I associated a handler with this? In the "things you can try it states, "If the file extension does not have a handler associated with it, add a handler mapping for the extension." however, it doesn't explain how to do this. Any help on this would be greatly appreciated. My e-mail (no Spam please) is davidjones022@gmail.com. Thanks in advance.
Re: Showing Windows AutoComplete Dropdowns in Visual FoxPro
03/15/08 01:28pm | by Rick Strahl

Fernando, yeah but have you looked at how crappy that looks and how badly it behaves? It's a non-starter feature IMHO. I've had better looking autocomplete support in my own libraries for years.

Add to that that the directory and URL history APIs aren't supported directly - it's all manual.

Re: Showing Windows AutoComplete Dropdowns in Visual FoxPro
03/15/08 01:18pm | by Fernando D. Bozzo

Hi Rick, about the autocomplete textbox, VFP 9 textbox is configurable to do so, with properties like AutoComplete, AutoCompTable and AutoCompSource. Why the need to make a new one?

Regards.

Re: Commenting via ShortCut Key in Visual FoxPro
02/22/08 08:25am | by Sylvain Bujold

I'm the type of person that tries to avoid the mouse as much as I can, so I learned to use the context-menu key a lot, so in vfp I always comment using context-menu+m our context-menu+n to uncomment. This has always worked very well for me.

Of course it depends on where it's located on your keyboard, some keyboard have it too far to be useful, especially on laptops, but my external keyboard has it on the right-side under the shift key so it's easy to access.

Re: Commenting via ShortCut Key in Visual FoxPro
02/20/08 05:41pm | by Mike

Well if Craig Boyd has his way, soon you be able to use the VS2008 shell to write VFP code. I don't know, but, I'm assuming that the Ctrl-K-c/u is going to work the way you like? Here hoping...
Re: Visual Studio 2008 and Web Connection
02/10/08 10:11am | by Mikhail Arkhipov (MSFT)

Hi Rick

If you wish, you can edit ASP.NET page directive validation schema and add new elements such as ID or GeneratedSourceFile. XSD file should be in Common7\Packages\Schemas.

Re: Absolute Positioning Layout with Web Connection and Visual Studio
02/09/08 08:33pm | by Ken Moss

I think this may be true for commercial sites, but I've created several 200+ page sites for internal use by government agencies. I've found that the absolute positioning works fine since all our users either use IE 6, IE 7, or Firefox. The sites have been in production over a year now and it works seamlessly. I even use infragistics extensively on the site and it works great.

The main reason I chose this is to get the project out fast. I don't have time to mess around with flow layouts when I have a couple of months to churn the application out. I can get a page out really quick using absolute positioning. I've designed the screen to a standard 800 pixels wide so it looks decent on those that are using 600x800 resolution.

I've come across this advice you give above time and time again--but I don't agree at all when you are doing internal data entry sites. I structure my web apps to be similar to a windows app and the perform extremely well plus I can get them out the door in no time at all.

Ken Moss
MCSD, MCDBA, MCAD, MCSA

Re: More on Vista FoxPro rendering issues.
02/04/08 11:49pm | by Siva

Hello Rick,

I'm using vista 64bit machine, i tried to solve the problem the way which you mentioned above...but whenever i'll give the code

borderstyle=2 && Fixed Dialog i need

i am facing the problem, that title bar of the form showing the background screen image.

I'm using with Visual Foxpro 7.0, will it work with VFP 9.0??

Thanks,
Siva

Re: Visual Studio 2008 and Web Connection
01/05/08 09:30am | by George

Thanks Rick,

My problem is almost certainly the way we use the repeater templates and "mismatch" the DIV and Table tags around the Item Template to simulate a scrolling Browse window. This is a control I REALLY like the look and feel of. It is VERY useful.

I understand your comments, and appreciate the advantage of "living" in the code editor. However, I'm not experienced enough in HTML to do that (yet) - and it seems counter intuitive to use a product called Visual (anything) to develop Web Code as a text editor :-( Maybe I'm missing something? (Rhetorical question for Microsoft).

In any case I posted an example of how badly things go wrong for me on the Forum today, so maybe someone over there will have seen this and have some kind of workaround.

Re: Visual Studio 2008 and Web Connection
01/03/08 01:55pm | by Rick Strahl

@George - Visual Studio is quite configurable in how it creates tags. If you go to Tools | Options | Text Editor | Html you should be able to configure tag closing options.

The problem is that if you use the visual designer it will have to necessarily add or edit existing tags in the document and so it has to potentially touch and slightly change your existing markup control code. Some of that will always happen.

You can also play around with margins and formatting width of the HTML code - most of hte funky formatting is due to 'line wrapping' of control tags.

FWIW, not much has changed in this respect in VS 2008 but I tend to work mostly with code markup and so I rarely see this issue in the first place.

However, VS SHOULD leave alone your plain layout HTML and that's really the most important thing.

Re: Visual Studio 2008 and Web Connection
01/01/08 02:48pm | by George

Hi Rick,

I'm never sure if VS2005 is "Quirky" or I just dont know enough :-( yet.

Something that drives me NUTS and wastes hours is that VS2005 goes off "helping" by adding closing tags, because it doesnt like the way I have the WW Repeater formatted with templates....

It does this every time I switch to design - announcing that it cant switch because of the tags it created not having starting tags .... Big Wow there!

So It's not "do or die", but might VS2008 not do this to me?

Re: Web Connection on IIS 7 and Vista
01/01/08 01:06pm | by pour

hi
thanks for your article its very useful, i use php and i set iis properly to allow to run it but when i want to upload a file i receive error i have properly set php.ini.
Re: More on Vista FoxPro rendering issues.
12/27/07 12:54pm | by Kevin O'Shea

I found an issue with the code when placed on the init:
ACTIVATE WINDOW (THIS.NAME) IN SCREEN NOSHOW
In our application the user can bring up a number of forms in sequence and sometimes the same form can be brought up multiple times. The forms are all modal. When this code fires on the init, it pulls like-named forms behind the current form and out of the expected sequence that the forms were opened in. I have not found a work-around yet.
Re: Visual FoxPro and Vista RTM
12/14/07 10:49am | by Andrew Hall

So does the InstallShield Express 5.0 that comes with VFP9 work with Vista, or does Vista require some other Macrovision product?
Re: Web Connection on IIS 7 and Vista
12/04/07 09:51am | by George

Samuel

All I had to do to get classic ASP running under Vista and IIS 7 was installing the ASP component together with the default IIS settings.

http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx

Re: Web Connection on IIS 7 and Vista
10/28/07 06:53pm | by Samuel

Ok. So I solved things. In an awkward way, but still...

I installed VMware Server on Vista. Added W2K as a virtual OS inside VMware. Shared the folder in question from Vista. Set the folder as the base for the web site in my virtual W2K. Browsed it from Vista, and did all the editing in Vista as well.

Quite an awkward way of doing things, but considering the fact that I've been trying approximately 3-4 hours/day for a week to get Classic ASP to work under Vista, and this ad hoc solution took... well, an hour perhaps - including installation and configuration of W2K - I must say that I really can't justify the use of IIS7...

Anyway. Just thought that some frustrated person might find this solution useful, and that it therefore might be reason to share it... :)

Best wishes
/Samuel

Re: Web Connection on IIS 7 and Vista
10/28/07 01:55pm | by Samuel

Hi.

Your general description seems to be good, or at least it seems to work for most people. Unfortunately not for me, though. I've enabled ASP (since classic ASP is what I want to be able to run - got a helluva lot of development going on using that, unfortunately, or something), but the server just continues to provide me weird error messages, when it isn't trying to force me to download the file. I've even enabled the option "allow unspecified CGI's and ISAPI's to run", but, alas, to no useful result.


<rant>
As far as I'm concerned IIS7 sucks. Big time.

It is easier for me to install VMware, a second operating system, and going through all that con figuration, than it is to make IIS7 work the way I want. Brilliant, huh? Not really.
</rant>

Well. Thank you anyway. Obviously your text helps a lot of people, and that is great, too bad I'm not one of them...

Best wishes
/Samuel

Re: The Microsoft ScriptControl and JavaScript Evaluation
10/18/07 08:55am | by Piter Protsyk

Hi there,

Rick, I have read an article about run-time compilation in .net, I guess few years ago.
Seems this topic is of your interest.

Finally, I diceded to implement real scripting language for .NET Framework. It is available here: http://www.protsyk.com/scriptdotnet

Re: Web Connection on IIS 7 and Vista
10/16/07 05:26am | by Jayanth

Hi All,

i have created web application & if i run it from D:\Test it will open a page called default.aspx. then i opened my IIS & created Virtual Directory calld Test, then i clicked browse for default.aspx & then i got


HTTP Error 404.3 - Not Found
Description: The page you are requesting cannot be served because of the Multipurpose Internet Mail Extensions (MIME) map policy that is configured on the Web server. The page you requested has a file name extension that is not recognized, and is not allowed.

Error Code: 0x80070032

Notification: ExecuteRequestHandler

Module: StaticFileModule

Requested URL: http://localhost:80/Upload/Upload/Upload.aspx

Physical Path: E:\Work_Jayanth\Upload\Upload\Upload.aspx

Logon User: Anonymous

Logon Method: Anonymous

Handler: StaticFile

Most likely causes:

It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
What you can try:

In system.webServer/handlers:
Ensure that the expected handler for the current page is mapped.
Pay careful attention to preconditions (e.g. runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
Pay careful attention to typographical errors in the expected handler line.
Please verify that the feature you are trying to use is installed.
Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe.
Open a command prompt and change directory to %windir%\system32\inetsrv.
To set a MIME type, use the following syntax: appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
For example, to add a MIME map for a file which has the extension ".xyz", type the following at the command prompt, and then press Enter:
appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain']
Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them.
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
More Information... This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files.


--------------------------------------------------------------------------------
Server Version Information: Internet Information Services 7.0.


Please hlp me. i's urjent

Re: Web Connection on IIS 7 and Vista
10/14/07 10:27am | by Mike Tennor

Rick,

Please disregard my previous posting as I figured out the answer myself.

Mike

Re: Web Connection on IIS 7 and Vista
10/14/07 09:15am | by Mike Tennor

Rick,

I am trying to add script maps for Cold Fusion Pages and Cold Fusion Components. However, after I enter the information in the Add Script Map dialog box and click the OK button, another dialog box appears that says, "Would you like to enable this ISAPI extension? If yes, we will add your extensions as an Allowed entry in the ISAPI and CGI Restrictions list. If the extensions already exist we will allow it." No matter what I do from here, I am not able to save the script map. Please tell me what I should do to get these values accepted into the Handler Mappings.

Thank you,

Mike Tennor
Mike.Tennor@Comcast.net

Re: Visual FoxPro and Vista RTM
10/12/07 01:08pm | by DL

I got over 200 forms need to deal with and I have so far learn there is no better solution by changing BorderStyle = 3. So, I decide it is time to let machine do its work and people do his.

The default BorderStyle in our system is resizable(3) and in numeral occasion we use fix border (about two-third ). The following sample code go through each form (SCX), remove BorderStyle statement from properties of 'form' object and reinsert it into last line of form init procedure.

By the way right click the program and "Run As Administrator" which is different from someone is administraor also give me the proper border display, but I can't expect every users to do that.

I sure hope VISTA SP1 will fix this problem.

-----------Sample code
nForms = ADIR( aForms, '*.scx' )
STORE 0 TO i, j
SET DELETED ON
SELECT 0

FOR i = 1 TO nForms
USE ( aForms[i,1] )
* assume all single for no formset
LOCATE FOR LOWER(TRIM(baseclass)) = 'form'
IF FOUND() AND 'BorderStyle' $ properties
SCATTER FIELDS uniqueid, properties, methods MEMO MEMVAR
m.dbfname = DBF()
= processMethod()
= updateForm()
ENDIF
ENDFOR

CLOSE DATABASES ALL


CLOSE DATABASES ALL

PROCEDURE processMethod()
* m.properties
* m.methods

LOCAL s1, s2, s3, n1, n2, nborder

nborder = LEN( 'BorderStyle = 2 ' )

s1 = LEFT( m.properties, ATC('BorderStyle', m.properties)-1 )
s3 = SUBSTRC( m.properties, LEN( s1 ) + 1 )
s2 = SUBSTRC( s3, nborder + 1 )
s3 = LEFTC( s3, nborder )
m.properties = s1 + s2

n1 = ATC( 'Procedure init', m.methods )
IF n1 = 0
m.methods = m.methods ;
+ 'PROCEDURE init' + CHR(13)+CHR(10) ;
+ s3 ;
+ 'ENDPROC'
ELSE
s1 = LEFTC( m.methods, n1 - 1 )
s2 = SUBSTRC( m.methods, n1 )
n2 = ATC( 'ENDPROC', s2 )
** check if there is .BorderStyle already in code, but we can't be sure if it is comment or active code
IF ATC( 'BorderStyle', LEFT( s2, n2) )=0
m.methods = STUFF( m.methods, n1 + n2 - 1, 0, 'thisform.' + s3 )
ENDIF
ENDIF
RETURN
ENDPROC

PROCEDURE updateForm()
GATHER MEMO MEMVAR
RETURN
ENDPROC

Re: Running Web Connection on 64 bit IIS
09/26/07 07:13am | by venkat pandiri

It is great to share knowledge. We appreciate for sharing with everyone.


We have an application which has limitation to run in 32 bit but another which uses the 64bit SQL server Reporting services. So we need to figure out how either figure out to run different wbsites to run with different 32 or 64 bit configuration. Or run the multiple IIS servers to be able to run both of our applications on the same server.
Can you suggest us a way to run both 32bit and 64bit IIS on the same box.
Please repond at vpandiri@vcgsoftware.com

Re: Hosting the .NET Runtime inside of Visual FoxPro
09/01/07 04:54pm | by Roy Müller

Great stuff! But how can I get an array back from - let's say - InvokeStaticMethod("System.IO.Directory", "GetFiles") ?
Re: Visual FoxPro and Vista RTM
08/28/07 01:04am | by Frank

Rick - servus!,

So what's the best place to install files that might get changed to?

No question, in a Network-environment the data goes on to the server.

But how about files like INI-Files, Helpfiles (that every now and then get updatet via online-Update), .... files that are not data but get modified eventually or every now and then without being a new "Setup"?

I have seen the hidden C:\ProgramData. A folder underneath that one could be an option or should we take the common Documents - folder as bases.

Sure, I'll make this a choosable option in my Setup, but what to take as default?

Regards from Berlin

Frank

Re: Web Connection on IIS 7 and Vista
08/27/07 02:04pm | by hugh welford

been using connection string
cst = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=c:/access/brits/dating/daters.mdb"
to connect to data via IIS6 and win xp pro

This doesnt work on Vista. Can you tell me what has changed please.

Thasnks
Hugh

xjhslhmp
08/25/07 11:54am | by xjhslhmp

gqjynbaa http://qszvnrgd.com ejwqnawg ozvhsekl [URL=http://imukplnk.com]idsghrde[/URL] <a href="http://lbkdllls.com">donfbqcq</a>
Re: More on Vista FoxPro rendering issues.
08/17/07 02:28pm | by Clyde Butler

I have seen some of these issues as well, and found that my company is not as concerned about our apps running under Aero as they seem to run fine with the Windows Vista Basic Theme or to set the Desktop Icon Property on the Compatibility tab to "Disable desktop composition.".

My company is more concerned with basic compatibility and usability by our clients as they purchase Vista Computers. However, company management and I as well do not like the fact that the client will loose the Aero experience for the entire desktop and all apps running if they use either of these options.

Question: Is there a way to have our FoxPro 8 apps to run in the Vista Basic Theme or with the “Disable desktop composition.” and it only apply to our FoxPro app that is running and not the rest of the Windows Desktop and other apps that are running?

If all of you and the FoxPro community every figure out how to fix all the issue then we will re-evaluate the use of the Aero.

Thanks in advance for you help.


Re: More on Vista FoxPro rendering issues.
08/16/07 02:42am | by Ray

I noticed the same rendering issues with combo boxes in an app I was creating. It had been started using XP then I transferred to a Vista PC. Odd thing is that any combo boxes I added after the transfer to Vista worked ok. So I went back to the old forms and deleted then recreated the combo boxes and all render correctly.

Obviously this is not a solution for any applications that are already in service.

Re: Web Connection Web Control Framework Pages and Page Code Reuse
07/15/07 11:14pm | by Rick Strahl

Thanks Randy - sharp eyes on you <s>...
Re: Web Connection Web Control Framework Pages and Page Code Reuse
07/15/07 01:22pm | by RandyP

Looks like you need "ADDITIVE" added to this line in your example of using inheritance:

SET PROCEDURE TO Helloworld_base.prg

Re: Fix up Paths with FULLPATH()
06/27/07 03:51pm | by William Plander

How 'bout that. It even does this one right.

? FullPath( "c:\test\pra\ac1\..\adef1.dat")

To

C:\TEST\PRA\ADEF1.DAT

...not bad

Re: Get a free copy of the new Visual FoxPro CoDe Focus issue
06/22/07 10:59am | by LESLIE

Thank you very much.
Please I would very much appreciate if you sent me a copy either by email or post
Re: Fix up Paths with FULLPATH()
06/18/07 11:13am | by E.R. Gilmore

That's cool! I didn't know fullpath would fix things like that. I usually wrap paths in addbs to be safe. Plus, it's just a fun function name. Maybe we need a similar abbreviated function name for add full url.
Re: Some Significant updates to the Web Connection 5.0 Beta
06/17/07 03:09pm | by Sohbet

Thank you http://www.kodes.com http://www.kitlen.com http://sohbet.kitlen.com
Re: Visual FoxPro and Vista RTM
05/29/07 12:09pm | by Bob Archer

Rick,

I assume you say the solution/workaround for this on Calvin's blog. It appears it will be fixed in VFP9 SP2. Of course, that doesn't help for VFP7 apps. !!!

http://blogs.msdn.com/calvin_hsia/archive/2007/05/01/windows-vista-aero-borderstyle-paint-problem-as-non-administrator.aspx

BOb

Re: Visual FoxPro and Vista RTM
05/29/07 08:46am | by Daniel

Running a Vista VPC on VMC 2007 works. Just make sure to install the addons via File menu. Vista should run very smooth, and make sure that you have atleast 2 Gigs of Ram to use. Haven't had the courage to install SP2 myself as service packs never tend to fix the problems im having they just add to the madness. I'll wait for more developer comments.

As for running as admin, if you install anything on vista you have to install it AS an admin. Microsoft in all their wisdom decided that someone with admin rights and a full blown admin are 2 different things.

Re: Web Connection on IIS 7 and Vista
05/23/07 05:43am | by Miss Hyder

hi Rick,

when i try to build my web application then its gives error of HTTP 404.2 ...can u pls help me to resolve this issue ...i knw that its becuse of lockdown system of web service extension but i dont know how to enable web service extension ...pls help me as soon as possible

Re: Web Connection on IIS 7 and Vista
05/18/07 02:30pm | by Andrey Petrosyan

If you are getting the 405.0 - Method Not Allowed error, you most probably skipped that part of Rick’s article, which discussed web.config file. You could have skipped it for one or two valid reasons:
1) You did not know where to look for web.config that Rick is talking about, or
2) Your application does not use file extensions.

Here is what you need to do:
- Navigate to Handler Mapping feature of your virtual directory, and click on Add Script Map…
- Put “wc.dll” into “Request Path” field
- Put a physical path to wc.dll into “Executable” field
- Click OK
- Enjoy!

Re: Web Connection on IIS 7 and Vista
05/14/07 06:05am | by Web Design Glasgow

I've installed vista, and have just tried to set up a virtual directory in IIS to test an ASP web application. I get the error included below. I tried installing all the components, including windows authentication which I then enabled, but continue to receive the error message. Can anyone provide an explanation of how to set up a virtual directory in IIS 7?


HTTP Error 500.0 - Internal Server Error

Description: The page cannot be displayed because an internal server error has occurred.

Error Code: 0x80070005

Notification: BeginRequest

Module: IIS Web Core

Requested URL: http://localhost:80/HandMadeCards

Physical Path: C:\Users\Iain\Documents\intraspin.com\Projects\Hand Made Cards

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: Not yet determined


© Rick Strahl, West Wind Technologies, 2004 - 2008