Quantcast
Channel: Installation and Setup
Viewing all 631 articles
Browse latest View live

Issue while configuring aspnet_regiis.exe -i

$
0
0

In Visual Studio 2013 after creating the WebSite using localhost I am got the following alert message.

ASP.NET 4.0 has not been registered on the Web server. You need to manually configure your Web server for ASP.NET 4.0 in order for your site to run correctly, Press F1 for more details.

While configuring aspnet_regiis.exe -i under Framework version V4.XXX below are the error details,

 C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis.exe -i

 Microsoft (R) ASP.NET RegIIS version 4.0.30319.34209

Administration utility to install and uninstall ASP.NET on the local machine.

Copyright (C) Microsoft Corporation. All rights reserved.

Start installing ASP.NET (4.0.30319.34209).

This option is not supported on this version of the operating system. Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog, the Server Manager management tool, or the dism.exe command line tool. For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.

Finished installing ASP.NET (4.0.30319.34209).


IIS 10 on 2016

$
0
0

We just installed a new 2016 Server (IIS 10) and when trying to setup our IIS ASP.Net applications I do not see "Windows Authentication" in our authentication options. Did we miss something in our install?  Thanks.

IIS Add Application under MVC

$
0
0

Hi,

I have an MVC app hosted in my local IIS that looks like this http://localhost:81/Home/Login

But i also have a Web Form that i call "Merchants", i need to place this web form just under the MVC  to make the URL look like this http://localhost:81/Merchants

My problem is IIS is trying to look into the MVC controller for the "Merchants" which does not exist, i want hopefully if possible that if the URL points to http://localhost:81/Merchants it will go to the Web Form, otherwise it will go the the usual Controller.

I hope someone can help me,

Thanks

Copy virtual directories

$
0
0

We inherited an old asp.net website application and want to copy it to another site.  It has several virtual directories and wondered if there is a way to copy those to the new site?  The site will be on the same server so all virtual paths will be the same.  Thanks.

Shared ASP.NET Hosting with Crystal Reports

$
0
0

Hallo !

I am looking for a shared Webhosting with Crystal Reports Runtime files installed?

Why are just a few offers available ? Is it a problem of performance or license or what else?

 

Please help.

 

Thanks Paul

SQL SERVER 2017 returns error "Expected 1 export(s) with contract name "Microsoft.VisualStudio.Utilities.IContentTypeRegistryService" but found 0 after applying applicable cons"

$
0
0

Hi

I have installed VS 2017 recently and since then I have an issue in my SQL SERVER 2017. SQL server connects t the server but when I want to run a query or get top 1000 rows, I get an error popup message "TITLE: Microsoft SQL Server Management Studio
------------------------------

Expected 1 export(s) with contract name "Microsoft.VisualStudio.Utilities.IContentTypeRegistryService" but found 0 after applying applicable constraints. (mscorlib)

------------------------------
BUTTONS:

OK
------------------------------
"

I have repaired the SQL server with the setup file but still I have the same issue. Please help me know what I need to do in order to get the SQL SERVER run the projects once again.

Thanks,

Deepak 

Deployment project for database

$
0
0
<div class="body">

I have a Sql server 2012 project and I don't konw if I can create a Setup project (an executable) to install it to a database.

I have found this article: "How to: Deploy a Database With a Web Application Project", because I have a Web Api that will use that database; but I don't know if I do this it will deploy the database with the Web Api installer (I have an installer, setup, for the web api).

How can I create a setup project to install a database?

</div>

asp.net install files

$
0
0

I have a computer that is similar to one that uses asp.net 2010 web forms. The application, I am suppose to support runs for awhile, until it gets an error. The computer that I am trying to setup to be like runs completely. That other computer has the following items installed that I do not have installed:

Microsoft ASP.NET MVC 2 - Visual Studio 2010 Tools
Microsoft Expresssion Blend 3 SDK
Microsoft Expresssion Blend 4
Microsoft Expresssion Blend SDK for .NET 4
Microsoft Expresssion Blend SDK for Silverlight 4
Microsoft Expresssion Design 4
Microsoft Expresssion Encoder 4 Pro
Microsoft Expresssion Encoder 4 Screen Capture Codec
Microsoft Expresssion Studio 4
Microsoft Expresssion Web 4
Microsoft Silverlight 3 SDK
Microsoft Silverlight 4 SDK

I would like to know where I can obtain the items listed above? I have an msdn license where I can download items like visual studio 2010 ultimate. When I am on the website, I cannot find the items listed above I am looking for. Thus can you tell me what items I can download to obtain the objects I am looking for?


Profiling; VSEnterpriseHelper.axd returned error – time out

$
0
0

Hi there,

I am trying to profile ASP.NET application running on local IIS that gathering DBs data from Azure. At first I had to follow instructions of  Tip: Fixing VSPerfASPNetCmd metabase errors.

Now I am getting another error – see picture beneath.

Screenshot of error modal

I’ve tried some of the instructions can be found via Google but none of them is about time out thus it is not working for my case.

I am using VS 2017-E v. 15.5.6 and IIS v. 10.0.16299.15 on Windows 10 Pro 64 bit v.1709 build 16299.248.

I get sometimes also another error but it is non-sense. Application definitelyruns on IIS.

Another error

Sometimes I get also

Web.config error

Event Viewer Data:

Microsoft.VisualStudio.Enterprise.Common.AspNetHelperException: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://tuckerrocky.local/VSEnterpriseHelper.axd' returned an error: The operation has timed out, Void GetWorkerProcessInfo()
at Microsoft.VisualStudio.Enterprise.Common.BaseHelper.GetWorkerProcessInfo()
at Microsoft.VisualStudio.Enterprise.Common.IISHelper.PreFetchEnv(Dictionary`2& table, String name, Boolean& envfromreg)
at Microsoft.VisualStudio.Enterprise.Common.IISHelper.PreFetchEnv()
at Microsoft.VisualStudio.Enterprise.Common.IISHelper.DelEnv(String var)
at Microsoft.VisualStudio.Enterprise.Common.AspNetHelper.ClearServiceVars(String[] vars)
at Microsoft.VisualStudio.PerformanceTools.LaunchInfo.LaunchServer()
at Microsoft.VisualStudio.PerformanceTools.PerformancePackage.LaunchServersWithProfiling()

Any ideas?

Printing Directly to a default windows printer from a web page

$
0
0

I have a web application (POS) and i need to print directly to the default windows printer .

My application ASP.NET , running on IIS (WINDOWS 7 ,  WINDOWS server 2008)

But it failed, (The default printer not set) , but there is already a thermal printer connected to the windows and working

I spend days playing in IIS and POOL configurations but till now nothing getting solved

Please some body help me in this

Regards

ASP.NET Webserver from scratch

$
0
0

Hi,

I was given a brand new Webserver with just the OS. I enabled IIS from Control panel features. Now I am not sure what software should I install to make it a web Server that hosts my ASPNET Web Application. I thought we should use WebPlatform installer to get ASP.NET web Components. not sure where to start

I generally use Visual studio installer as it installs everything if the system needs VS but in this case, its just a web server. Where I should start?

Can you assist guys for me to install .NET Framework 4.6

$
0
0

Hi There,

I'm trying to install .NET Framework on a test server to run a web app built in ASP.NET.  Could anyone help me?  Because it's built on .NET Framework 4.6.  I go into test server closest installed framework is 4.0. I tried to install Framework 4.6 and it says it has already 4.6 or later update.  Below is the message..  Helpppp!

Microsoft .NET 2015

         Details

                 .NET Framework 4.6 or a later update is already installed on this computer...

Thank you and looking forward to your reply soon guys.

         Orhan Erten

I need suggestion for choosing a cloud hosting for my website.

$
0
0

I want to move my website to cloud hosting and for this I need a cloud hosting service provider. Anyone suggest me the best one as I have been looking into this cloud hosting providers Cloud web hosting and Host gator

Did anyone use their services. Are they reliable and supports 24/7 ? I have lot of questions in my mind regarding this and I need advice from people to choose the best hosting provider as I want it to be done once because migrating sites is such a hassle for me.

Error in Js File After Update VS 2017

$
0
0

Hi,
I Have many error in my js file after update my visual to 15.8.1
what is problem ?
Error
Error Mixed and Space Tabs
Error eqeqeq (ESLint) Expected '===' and instead saw '=='. 
and etc.

I Install Productivity Power Tools
but the error is still there

How to add a old ASP 2.0 site into Visual Studio 2010 with no solution or work file

$
0
0

Hi All,

I have a old website that was written in C#/2.0.50727 ASP .NET that was setup back in Dec/2009.
The code hasn't changed since it was installed on Windows 2003 R2.

App_Code
Bin
Images
.aspx files
.cs files
.asmx files
.config
.sitemap
.css

We can't find the solution/project work file to debug the site in VS.
Any idea how I can setup this code/site in Visual Studio 2010 from scratch?

Thanks,


Url redirect from old web domain to new domain

$
0
0

I have one asp.net application (http://www.olddomain.com) hosted in IIS, now I developed a new version of same web application (http://www.newdomain.com) in asp.net and hosted same IIS machine with different name. I want redirect all old domains call to new.

For example if someone clicked on bookmarked old domain(http://www.olddomain.com/user.aspx?key=0001) then they need to redirect to newdomain (http://www.newdomain.com/user.aspx?key=0001). If the user is not login ed in newdomain then redirect to login if they logged in then redirect to exact page

I tried IIS URL Redirect option, Entered redirect URL as "http://www.newdomain.com$S$Q" in IIS. It not working as expected. If am enter url http://www.olddomain.com in browser then it redirect to http://www.newdomain.com If am entering URL like http://www.olddomain.com/user.aspx?key=0001then it redirecting to login page if already logged in state also.

Host ASP.NET Core on Linux with Nginx

$
0
0

Hi ! I'm learning this tutorial https://docs.microsoft.com/en-US/aspnet/core/host-and-deploy/linux-nginx?tabs=aspnetcore2x&view=aspnetcore-2.1

I need Host ASP.NET Core on my Linux  CentOS with Nginx

I followed the steps but I have a problem status kestrel-helloapp.service is activating

ERROR:"activating"

[root@CentOS /]# sudo systemctl status kestrel-helloapp.service
● kestrel-helloapp.service - Example .NET Core Web App running on CentOS  Loaded: loaded (/etc/systemd/system/kestrel-helloapp.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Sun 2018-11-18 09:45:06 -04; 5s ago
  Process: 16742 ExecStart=/usr/bin/dotnet /usr/share/nginx/html/prueba.dll (code=exited, status=217/USER)
 Main PID: 16742 (code=exited, status=217/USER)

Status Nginx 

[root@CentOS ~]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

/etc/nginx/nginx.conf

worker_processes  1;
events {
    worker_connections  1024;
}

http {

    include       mime.types;
    default_type  application/octet-stream;
    sendfile        on;
    keepalive_timeout  65;
    
    server {
        listen       80;
        server_name  localhost;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
            root   html;
            index  index.html index.htm;
        }

        #error_page  404              /404.html;

        # redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
            root   html;
        }
    }
}

/etc/nginx/conf.d/default.conf

#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    sendfile        on;
    keepalive_timeout  65;

    server {
    listen 80;
    location / {
    proxy_pass http://localhost:5000;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection keep-alive;
    proxy_set_header Host $host;
    proxy_cache_bypass $http_upgrade;
    }
}

my app default root

/usr/share/nginx/html

here stay my AppNetCore.dll


/etc/nginx/proxy.conf 

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 10m; 
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 4k;

/etc/systemd/system/kestrel-helloapp.service

[Unit]
Description=Example .NET Core Web App running on CentOS

[Service]
WorkingDirectory=/usr/share/nginx/html
ExecStart=/usr/bin/dotnet /usr/share/nginx/html/prueba.dll
Restart=always
# Restart service after 10 seconds if the dotnet service crashes:
RestartSec=10
KillSignal=SIGINT
SyslogIdentifier=dotnet-example
User=www-data
Environment=ASPNETCORE_ENVIRONMENT=Production
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false

[Install]
WantedBy=multi-user.target

vb.net sqlite for web site

$
0
0

Hi,

I use Visual Studio 2017 and I need SQLite for a web site project. I can download it via NuGet and download it for other solutions but as soon as I try to install it for a solution with this webapplication project, Visual Studio completely hangs after I agree to the License terms so that I have to kill the process via Task manager.

How can I get/implement SQLite dlls for this VB.NET project except via NuGet. Is there some site where I can download them?

The only files I found seem to support C++ only.

Regards,

Pascal

Edit: I just realized the existing project is a Web Site project and not a web application, that could explain why VS has probs adding SQLite class and references.

Building error - Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets

$
0
0

Hi guys,

I've updated the my ASP.NET 472 to ASP.CORE 2.2.0; after this when I rebuild the project had this error:

.nuget\packages\microsoft.aspnetcore.razor.design\2.2.0\build\netstandard2.0\Microsoft.AspNetCore.Razor.Design.CodeGeneration.targets(161,5): error : Assembly location for Razor SDK Tasks was not specified. The most likely cause is an older incompatible version of Microsoft.NET.Sdk.Razor, or Microsoft.NET.Sdk.Web used by this project. Please target a newer version of the .NET Core SDK.

If I install the previous versione (2.1..6) the project has rebuild correctly.

Someone can help me?

Thank you.

Connecting to SQL - Missing assembly

$
0
0

Hey all, 

I'm having an issue with running Visual Studio 2017 and SSMS - everytime I try and connect to a database i'm getting the following: 

TITLE: Connect to Server
------------------------------

Cannot connect to localhost\sqlexpress.

------------------------------
ADDITIONAL INFORMATION:

Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The specified module could not be found. (System.Transactions)

------------------------------

Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The specified module could not be found.

------------------------------

Could not load file or assembly 'System.EnterpriseServices.Wrapper.dll' or one of its dependencies. The specified module could not be found.

------------------------------
BUTTONS:

OK
------------------------------

I've tried re-installing 3.5 (this didn't appear to install), .4.5 and 4.7.2 multiple times. The SQL server works on other machines. 

Anyone have any suggestions? Let me know if you need more information. 

Thanks 

Viewing all 631 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>