Web Connection
Web connection 6.07 and Vis studio 2015 problem
Gravatar is a globally recognized avatar based on your email address. Web connection 6.07 and Vis studio 2015 problem
  BrianWg
  All
  Jan 30, 2017 @ 03:18pm

Loading 6.07 and having a few problemes with vs 2015

I create a page and then right click and select "Show foxpro code" - but on one computer I get -

with a web.config of

</system.webServer>

But on another I am getting - but by clicking "Yes" I get

with a web.config file of

</system.webServer>

what is my problem?

Gravatar is a globally recognized avatar based on your email address. re: Web connection 6.07 and Vis studio 2015 problem
  Rick Strahl
  BrianWg
  Jan 30, 2017 @ 03:42pm

Not quite sure what's going on there.

Make sure you are in a Web Site Project when you use the addin functionality.

On the second screenshot - it's best to actually run the page rather than manually compiling. If there are dependencies that need to be actively available it's likely the page may not compile properly and I'm guessing the compilation fails.

So the short of it is - run the page, then use View Source Code.

I'm looking at the addin code today for the release of Web Connection 6.10 later this week, so I'll double check to see if there are issues. VS 2015 has had some recent addin interface changes that are affecting the behavior somewhat so it's possible that something has broken along the way.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Web connection 6.07 and Vis studio 2015 problem
  Rick Strahl
  BrianWg
  Jan 30, 2017 @ 09:18pm

So I took a look at the addin and it seems that it should work. I've just updated the addin to work with Visual Studio 2017 RC and added a few fixes for the HTML preview. But I didn't have to make any changes for the Web Control Framework page editing so I'm not sure what the issue might be that you're running into.

Maybe check again when 6.10 ships in the next days and see if the situation improves.

You might want to also double check your paths in Web.Config and make sure that they point at the right folders. The folder location looks wrong to me in your second screen shot. The file should be pointing at the Web folder not the project root which makes me think the WebProjectBasePath should be:

<add key="WebProjectBasePath" value="c:\WebConnectionProjects\incSystem\Web" />

But I can't be sure - it depends on how your project is set up.

Typically it looks like this:

<webConnectionVisualStudio>
    <add key="FoxProjectBasePath" value="c:\WebConnectionProjects\incSystem\deploy" />
    <add key="WebProjectBasePath" value="c:\WebConnectionProjects\incSystem\web\" />
    <add key="WebProjectVirtual" value="http://localhost/incSystem/" />  
</webConnectionVisualStudio>

+++ Rick ---

© 1996-2024