Handler Mapping Error (OpenInsight 64-bit)
At 11 MAY 2020 12:24:11PM Richard Richter wrote:
I have created several O4W programs running under several applications. I can access all of them through the Default Web Site using localhost. I am setting up a new web site, rprdds.com, using IIS 10. I can access my WiFi/Internet Router's login page without a problem so I believe IIS is working properly, Using O4W Quick Setup 2.0, I created the new Web Site. I an trying to create a Handler Mapping for o4w. When I try to open Handler Mapping I get the following error message:
Handler Mappings
There was an error in performing this operation.
Details:
Filename: \\?\C:Revsoft\Oinsight10\o4w\web.config
Line Number: 5
Error: Cannot add duplicate collection entry of type 'add' with unigue key attribute 'name' set to 'DENT'
OK(Button)
"DENT" is a Handler Mapping and a Virtual Directory created under Default Web Site. How do I eliminate the error?
Richard Richter
At 11 MAY 2020 02:27PM bshumsky wrote:
I have created several O4W programs running under several applications. I can access all of them through the Default Web Site using localhost. I am setting up a new web site, rprdds.com, using IIS 10. I can access my WiFi/Internet Router's login page without a problem so I believe IIS is working properly, Using O4W Quick Setup 2.0, I created the new Web Site. I an trying to create a Handler Mapping for o4w. When I try to open Handler Mapping I get the following error message:
Handler Mappings
There was an error in performing this operation.
Details:
Filename: \\?\C:Revsoft\Oinsight10\o4w\web.config
Line Number: 5
Error: Cannot add duplicate collection entry of type 'add' with unigue key attribute 'name' set to 'DENT'
OK(Button)
"DENT" is a Handler Mapping and a Virtual Directory created under Default Web Site. How do I eliminate the error?
Richard Richter
Hi, Richard. Please delete the WEB.CONFIG file that's located in your O4W folder. I think that's only relevant/working with older versions of IIS and confuses/breaks more modern versions. Then see if that makes a difference?
Thanks,
- Bryan Shumsky
At 11 MAY 2020 04:27PM Richard Richter wrote:
I have created several O4W programs running under several applications. I can access all of them through the Default Web Site using localhost. I am setting up a new web site, rprdds.com, using IIS 10. I can access my WiFi/Internet Router's login page without a problem so I believe IIS is working properly, Using O4W Quick Setup 2.0, I created the new Web Site. I an trying to create a Handler Mapping for o4w. When I try to open Handler Mapping I get the following error message:
Handler Mappings
There was an error in performing this operation.
Details:
Filename: \\?\C:Revsoft\Oinsight10\o4w\web.config
Line Number: 5
Error: Cannot add duplicate collection entry of type 'add' with unigue key attribute 'name' set to 'DENT'
OK(Button)
"DENT" is a Handler Mapping and a Virtual Directory created under Default Web Site. How do I eliminate the error?
Richard Richter
Hi, Richard. Please delete the WEB.CONFIG file that's located in your O4W folder. I think that's only relevant/working with older versions of IIS and confuses/breaks more modern versions. Then see if that makes a difference?
Thanks,
- Bryan Shumsky
Hi Bryan,
Hope all is well and everyone is healthy.. As always, you come through. Deleting web.config worked like a charm.
Stay well and thanks for your help.
Richard Richter
At 11 MAY 2020 05:03PM Richard Richter wrote:
I have created several O4W programs running under several applications. I can access all of them through the Default Web Site using localhost. I am setting up a new web site, rprdds.com, using IIS 10. I can access my WiFi/Internet Router's login page without a problem so I believe IIS is working properly, Using O4W Quick Setup 2.0, I created the new Web Site. I an trying to create a Handler Mapping for o4w. When I try to open Handler Mapping I get the following error message:
Handler Mappings
There was an error in performing this operation.
Details:
Filename: \\?\C:Revsoft\Oinsight10\o4w\web.config
Line Number: 5
Error: Cannot add duplicate collection entry of type 'add' with unigue key attribute 'name' set to 'DENT'
OK(Button)
"DENT" is a Handler Mapping and a Virtual Directory created under Default Web Site. How do I eliminate the error?
Richard Richter
Hi, Richard. Please delete the WEB.CONFIG file that's located in your O4W folder. I think that's only relevant/working with older versions of IIS and confuses/breaks more modern versions. Then see if that makes a difference?
Thanks,
- Bryan Shumsky
Hi Bryan,
Hope all is well and everyone is healthy.. As always, you come through. Deleting web.config worked like a charm.
Stay well and thanks for your help.
Richard Richter
Sorry Bryan,
I spoke too fast. I changed the name of web.config and then wanted to enter another virtual directory. I noticed that the OECGI4 Map Handler was gone and If I entered a third Map Handler I had to change the name of a new web.config and now both the o4w and the newly entered virtual directory were gone. How do I get around this problem?
Richard Richter
At 11 MAY 2020 05:05PM bshumsky wrote:
Hi, Richard. Can you explain a bit more for me what you're trying to accomplish?
Are you trying to make OECGI4.EXE recognized as a handler mapping, so that it can be used in a URL? Or are you trying to make some other file name/extension act as handler mapping, and have that invoke OECGI4.EXE?
Thanks,
- Bryan Shumsky
At 11 MAY 2020 05:57PM Richard Richter wrote:
Hi, Richard. Can you explain a bit more for me what you're trying to accomplish?
Are you trying to make OECGI4.EXE recognized as a handler mapping, so that it can be used in a URL? Or are you trying to make some other file name/extension act as handler mapping, and have that invoke OECGI4.EXE?
Thanks,
- Bryan Shumsky
Bryan, I'm trying to setup my applications so I can access them on my website from the internet. I can get to my WiFi router login page. I created the website on IIS and now I want to add the applications to the website.
Richard Richter
At 12 MAY 2020 10:00PM bshumsky wrote:
Hi, Richard.
OK, there's a couple of things going on here.
First (and not related to O4W and handler mappings) - when you say you can reach your router, that's not the same thing as saying you can reach the web server. Do you know how to have your router "redirect" requests that are coming in to the web server? Until you see the IIS page, you're still not connected to the web server.
Second, you can add the handler mapping to the overall "Default Web Site", rather than to multiple virtual directories. That way you only have to define the oecgi4.exe mapping one time, and all the virtual directories under the Default Web Site will "inherit" that functionality.
Hope that helps,
- Bryan Shumsky
At 13 MAY 2020 08:57AM Richard Richter wrote:
Hi, Richard.
OK, there's a couple of things going on here.
First (and not related to O4W and handler mappings) - when you say you can reach your router, that's not the same thing as saying you can reach the web server. Do you know how to have your router "redirect" requests that are coming in to the web server? Until you see the IIS page, you're still not connected to the web server.
Second, you can add the handler mapping to the overall "Default Web Site", rather than to multiple virtual directories. That way you only have to define the oecgi4.exe mapping one time, and all the virtual directories under the Default Web Site will "inherit" that functionality.
Hope that helps,
- Bryan Shumsky
Good Morning Bryan,
Actually, I don't knowhow to redirect requests that are coming in to the web server. I'll have to figure that one out. I had a feeling I didn't have to recreate the world but I thought I needed a new website.
I'll let you know how it works out. Thanks as always
Richard Richter