I got following error When i open SiteCore website in Visual Studio 4.0 - sitecore

I got the following two errors when I open Sitecore 6.3 website in Visual Studio 4.0:
Error 1 The virtual path
'/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx'
maps to another application, which is not allowed.
Error 2 Unknown
server tag 'ds:DateSelector'.
I simply install Sitecore 6.3 (website save into c:/inetpub/wwwroot/sitecoresite/website). When I open this site in Visual Studio 4.0, it shows error.
Can any body tell to me how can I open this or what mistake did I make?

As far as I understand your question, you get the error when you browse the newly installed Sitecore website, which is set up to run under ASP.NET 4.0 application pool. If that's the case, then I should inform you that it is supported to run Sitecore under ASP.NET 4.0 application pools starting from version 6.4.0.
So, you have two options here:
setup your application pool to use ASP.NET 2.0 (make sure .NET 2.0 is installed)
upgrade a Sitecore instance to the 6.4.0+ (which might not be acceptable)
Hope this helps.

I'm not sure if you are having issues because of the way you are opening the project, there are a few issues if you open it as a File-System website project you will want to create a Web Application Project and go from there.
You can look at this blog post :
Simplify Sitecore Visual Studio Project Creation (or the previous version) for information on how to setup a Visual Studio Project correctly for Sitecore.

I actually think this might just be as simple as a missing tilde. So rather having
/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx
you should have
~/sitecore/shell/Applications/Analytics/ReportRunner/DateSelector.ascx

Related

no ASP.Net Core Template in New ASP.Net Core Web Application screen Visual Studio 2017

I'm following a tutorial in developing .Net Core application and after selecting New>Project>ASP.NET Core Web Application
I then get a new window 'New ASP.NET Core Web Application' which in my tutorial shows three choices for template but mine is empty.
There is an option which says 'Get additional project templates' which I did but it just offered a project which I downloaded from GIT called 'Templates-Master'. I don't know how I get this into my templates. I also went to my Installation setup to see if I missed anything but as you can see below it all seems to be there.
The problem is without being able to select a template, I can't go any further. My tutorial seems to imply they should be there, what do I do?
For the warning and unexpected result, it seems you installed the wrong version of SDK.
Try to install SDK, choose the right version(x86).
If it still exists, try to check PATH environment variable points to the location in which the SDK is installed. The installer normally sets the PATH.
Reference: Troubleshoot ASP.NET Core projects

HTTP Error 502.5 - Process Failure in .NET Core Web Application

I cloned a .NET core web application project from a git repository I haven't worked on in awhile onto a new computer. Although I'm not getting any errors in Visual Studio 2017, when I try to run the program locally I get the error page cited below in the browser.
Does anyone have any suggestions as to where to look for problems or settings I should change?
HTTP Error 502.5 - Process Failure
I fixed the issue. I needed to modify my visual studio install to include .NET Core 1.0-1.1 development tools for web.
I found that the DLL name must not contain a space. For example the dll name is "my own web api.dll" and then you will get the above error message as well.
Check if your target server has got correct version of core hosting bundles installed and correct values in web.config.
https://www.danielcrabtree.com/blog/400/how-to-fix-iis-http-error-502-5-in-asp-net-core
Check if your dll file name contains space in it. If yes, remove all spaces in it via assembly name in your project property of visual studio.

Hosting web service on IIS 7.5 which consumes 64 bit third party DLL throws error Could not load file or assembly or one of its dependencies

we are working on windows 2008 R2.
we have a web service(frame work 4.0) which consumes 64 bit third party DLL. when we run web service from VS 2013 or from IIS 7.5 we got a error saying “Could not load file or assembly or one of its dependencies. An attempt was made to load a program with an incorrect format.”
with the help of stackoverflow we have set the below option in VS 2013
Tools | Options | Projects and Solutions | Web Projects | Use the 64
bit version of IIS Express
and published the same from VS 2013 on IIS 7.5 and it is working :)
now we have published same web service on different machine where Visual studio 2013 is not there and we are getting the same problem again.
“Could not load file or assembly or one of its dependencies. An
attempt was made to load a program with an incorrect format.”
how to make this web service working?
After doing lot of googling i have come across this link debugging-assembly-loading-failures
so with ref to above link if i have fuslogvw.exe, it's easy to find where the problem is.
So to get fuslogvw.exe i have installed SDK for .net framework
Now i got fuslogvw.exe and i configured it as mentioned in debugging-assembly-loading-failures and i browse my web service from IIS Manager and i am expecting errors so i am checking Fusion log and i found no errors there. Confused!!!
now i came back to browser and i found my web service is working :)
So installing SDK fixed the problem.

ContentBox giving error on installation

I am currently trying to install ContentBox 2 on my machine.
I am using ColdFusion 9.0.2, MySQL 5.6 and IIS 7 on Windows 7 Professional.
I have created database named “contentbox” and created a datasource named “contentbox” for it
as mentioned by the ContentBox documentation.
When I try to setup ContentBox, I’m presented with a datasource wizard page.
The wizard successfully verifies the datasource and gives me option to continue the setup.
On clicking the “continue installation” button I get the following error message:
Table cb_entry defined for cfc contentbox.model.content.Entry does not exist.
I’ve already given read/write permission to all the mentioned files and folders.
Can you help me sort out this issue.
I finally got the problem solved.
I contacted Ortus Solutions support. They advised to use ContentBox version 2.1 (Bleeding edge release) as Version 2.0 has some issues with CF9.
I have downloaded and installed the new version.
And it seems to be working fine.

Silverlight business application: windows authentication using IIS express not working

When using IIS Express and Windows Authentiction with Silverlight 5 (using silverlight business application template in VS 2012), the status bar is stuck at "authenticating..."
Switching back to the Visual Studio Developer Server, Windows Authentication works.
Please assist.
Solved the issue by applying below.
Need to update extra configurations (at IIS express level), in addition to Visual studio settings.
Go to MyDocuments\IISExpress\config\applicationhost
Search for windowsAuthentication
Updates:
3.1 Under sectionGroup name="authentication" and section name="windowsAuthentication", update overrideModeDefault to "Allow". Default is "Deny"
3.2 Under authentication >> windowsAuthentication, update enabled="true". Default is false.
Save and close
All projects, using Windows authentication and running under IIS express, will start running smoothly.