Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all 3509 articles
Browse latest View live

VS 2012 Express for Web Navigation Controls

0
0

I am using Windows 8

I have a Web Project with a Master Page that has a Style Sheet. On the Master page I have a SiteMap file. aTreeView control with a SiteMapDataSource control. The Treeview displays properly on the clint pages in the project. When I then add a SiteMapPath control to the Master Page, it also displays properly in design view.

However, when I Browse the Default (Home) client page in the Browser (IE), I see the following:

- TreeView displays all the nodes, but none are displayed as Links, and parent nodes do not collapse when clicked.

- SiteMapPath displays only the Top Node (Home)

When  I browse other client pages in the browser, the TreeView displays as indicated above, but there is nothing at all displayed in the SiteMapPath control.

I am assuming my problem is affecting both these controls, but I have been unable to figure out that I am doing wrong.


How To Create or add folder References in Solution Explorer

0
0

Please help me I can't create folder References in Solution Explorer  

Work This Folder , When RightClick  This Folder show list For Add Reference , Add Web Reference only

How Create This Folder , Please help me ?

 

Multiple instances of Visual Web Developer Express

0
0

Anyone know how to have more than one instance of Visual Web Developer Express open simultaneously?  I want to work on more than one project/website at the same time.

HTML5 javascript framework for datagrid (or spreadsheet)

0
0

I have been doing some digging around on the Internet and I’m wondering if you know of a product.

I’m looking for a robust HTML5 javascript framework for datagrid (or spreadsheet) where it can do those following when displaying on webpage…

1) Having data, textboxes, drop-down selection, checkboxes, etc. (in columns) per rows...

2) Be able to group several columns (of data) and display rows like this…
(Say you group the Make, Model and Color…)


<pre>
[-] Ford (5)
   [-] Mustang (3)
      [+] Green (1)
      [-] Blue (2)
         [Year] [Trim] [Mileage] [Color]
         2007 2dr Coupe 52,000 Green
         2012 2dr Sedan 23,321 Blue
   [+] Ranger (3)
   [+] Taurus (5)

[+] Chevrolet (8)

[-] Toyota (2)
   [-] Prius (2)
      [-] Yellow (2)
         [Year] [Trim] [Mileage] [Color]
         2013 3dr Hatchback 14,021 Yellow
         2010 2dr Coupe 11,123 Yellow
</pre>

Thanks…

Browser hangs / high CPU when starting ASP.NET project from Visual Studio 2010

0
0

For quite some time now I'm having problems to start ASP.NET projects from Visual Studio 2010 Professional SP1. I have all actual Windows updates installed. When I debug or start without debugging the browser only displays a white screen and in the status bar "waiting for answer of localhost". The address bar shows the correct page. The CPU goes up and the fan starts, but the page is not displayed. After some minutes IE displays that the webpage can't be displayd.

If I type in the local address in the browser address bar "localhost/path..." all applications run fine. (First I was not able to run the applications entering the page in the address bar due to missing access rights. I keep websites in the websites library) When I added IUSR and IIUSR... they run fine directly from the browser. Still I can't run or debug any application out of Visual Studio.

I created a new web application with ASP.Net 2 and 4 inside of Visual Studio. Still I wasn't able to debug or run them from within Visual Studio.

I tried turning of AV and Firewall (GData) and run VS explicit as Administrator—No difference. I tried to set the local IIS as the server, but still IE ramps up the CPU and IE only shows white. So the same problem occurs independet of using IIS or WebDev.

When I switch back to default server and run the page from VS the address bar doesn't show the page name and path anymore. Rather it shows the root folder of the web site project only. Even if I switch back to custom server IE only shows the root folder (localhost/virtdir). I need to restart VS to have it work again.

If I enter the same URL in a new browser window the page is displayed. So it seems it has nothing to do with WebDev, but rather with VS. Since I can attach the debugger process to IIS when the page is in the browser it seems not to be the debugger. I tested attaching the debug process to the IIS worker process. This works fine. I can also debug from within Visual Studio WinForms. The issue occurs only when I start aspx pages from within Visual Studio.

I can't recall the exact steps anymore, but if I'm not mistaken I had kind of the same problem before installing SP1. The difference was that it only occurred in one project and IE and VS hang completely. I had to kill both processes. I deleted VS settings files and it worked again. Then I installed SP1 reading about the debug problems. Now no website project works anymore.

I'm pulling my hair. I already wasted two days when I supposed to have finished this project.

Does anybody has an idea what the cause is?

Marcus

Visual WebDeveloper 2008

0
0

how can I find table templates in 2008 which are in 2005

Please help me out

Can't add Service Reference

0
0

Hello everybody, let me trouble you with question

Situation is:

Windows 8 RC, Visual Studio 12 RC, IIS 8

If to create new project using Silverlight Application blank with Name - "web", Solution name - "\example", Web project name - "home"(for example), add to "home" service - add/new item/Silverlight/Silverlight-enabled WCF Service setting at home properties/Web:  Use Local IIS Web server - true  Use IIS Express - true everything is fine - with such properties Service Reference adding to "web" project without any problem

But to gebug service using large data size, possible to use just "Local IIS Web server" not "IIS Express"  (Use Local IIS Web server - true;  Use IIS Express - false)

And in this case impossibele to add Service Reference: "  There was an error downloading 'http://localhost/home/Service1.svc/_vti_bin/ListData.svc/$metadata'.   The request failed with HTTP status 404: Not Found.   Metadata contains a reference that cannot be resolved: 'http://localhost/home/Service1.svc'.   The remote server returned an unexpected response: (405) Method Not Allowed.   The remote server returned an error: (405) Method Not Allowed.   If the service is defined in the current solution, try building the solution and adding the service reference again. "

May be somebody has idea to solve this problem?

Problems with fresh set up Visual Studio 2012 and Windows 8

0
0

Hi after being up all night and even solving my issues on the new set up server (2012 Essentials) to find a way to deploy my projects I give up.

My normal project I am working on throws following exception when I try to deploy it to the server over WebDav and over Web Deploy:

3>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(657,3): warning MSB4011: "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\CollectFiles\Microsoft.Web.Publishing.OnlyFilesToRunTheApp.targets" cannot be imported again. It was already imported at "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.targets (793,3)". This is most likely a build authoring error. This subsequent import will be ignored. [S:\Arbeit\BAP\trunk_bap\BAP\BAP.csproj]
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(2803,46): Error MSB4115: The "exists" function only accepts a scalar value, but its argument "$(PublishParametersFile)" evaluates to "Z:\BAP.Publish.Parameters.xml;Z:\BAP.Publish.Parameters.xml" which is not a scalar value.

Depending on some factors (ways of deploying it is one of them) the paths, and variables change. one thing always stays the same: 

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(2803,46): Error MSB4115: The "exists" function only accepts a scalar value, but its argument

After that, I tried to set up a simple MVC 4 Internet Application just to test if the server works and if the deployment works and I got the following errors:

1>Connecting to Z:\...
1>Transformed Web.config using c:\users\peter\documents\visual studio 2012\Projects\MvcApplication1\MvcApplication1\Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
1>Copying all files to temporary location below for package/publish:
1>obj\Debug\Package\PackageTmp.
1>Publishing folder /...
1>Unable to add 'Global.asax' to the Web site.  Unable to add file 'Global.asax'.  The system cannot find the file specified.
1>Unable to add 'packages.config' to the Web site.  Unable to add file 'packages.config'.  The system cannot find the file specified.
1>Unable to add 'Web.config' to the Web site.  Unable to add file 'Web.config'.  The system cannot find the file specified.
1>Unable to add folder 'bin' to the Web site.  Cannot create folder 'bin'.  The system cannot find the file specified.
1>Publishing folder Content...
1>Publishing folder Content/themes...
1>Publishing folder Content/themes/base...
1>Publishing folder Content/themes/base/images...
1>Publishing folder Content/themes/base/minified...
1>Publishing folder Content/themes/base/minified/images...
1>Publishing folder Images...
1>Publishing folder Scripts...
1>Publishing folder Views...
1>Unable to add 'Views/Web.config' to the Web site.  Unable to add file 'Views\Web.config'.  The system cannot find the file specified.
1>Publishing folder Views/Account...
1>Publishing folder Views/Home...
1>Publishing folder Views/Shared...

Any idea what is wrong???

As i said, i have everything set up new (~2 week old top) and doubt that i managed to screw up something in that short time.

 Both projects work when running with F5 on the client. And I was definitly able to publish the 1 project with my old set up (Windows 7, Visual Studio 2010 and Windows Server 2003 via FTP Publishing)

I hope that somebody can give me a hint on what to change / how to fix it.

Thx

regards

Peter





Visual studio 2010 message

0
0

Hi,

I had worked on VS2010 trail but when I worked I had a message that the trail period expaired then I told for new period and I had new  key but when I click on active button I had this message

this product key cannot be used to extend the use of this product

So please how can I solve this issue

Can i add a PHPBB Forum to my website?

0
0

Hey everybody. So i am making a website in Microsoft Visual Web Developer 2010 Express and i was looking into how to make a forum on my website, when i stumbled across PHPBB, a free, open-source software that can be used to create forums (for example, the forums over at PlanetMinecraft.com use this in their forum section). I was wondering if it was possible for me to do this (i.e. To still keep the rest of my website in VWD 2010 Express but then add in the PHPBB bit onto a forum section of the website). So technically, i want to add PHPBB to my VWD 2010 Express website WITHOUT creating a completely different website. Any suggestions about how i can go about doing this (i'm pretty sure this is possible, because this is what it's like on PlanetMinecraft.com and i've looked all over the internet for tutorials but nothing's came up).

Thanks in advance! :)

Problems Porting VWD 2008 Express to Windows 8

0
0

I am setting up new Win 8 laptop.  Have added IIS8 and .Net Framework 3.5 and4.5 using "add Windows features", and downloaded and installed VWS2008 Express, since I have used this tool extensively a on prior Vista laptop and have several websites targeted to .NET2.0.  VWS2008 actually targets to .NET 3.5 which is supposedly compatible with .NET 2.0.

When I create a new test website using VWS 2008.  It tells me that "ASP.Net 2.0 has not been registered on the web server.  You need to manually configure your web server for ASP.NET 2.0 in order for your site to run correctly"

I did change the .NET Framework version to v.2.0.50727  in the IIS root directory, which is my account name on this computer. 

Question: if this doesn't "register" ASP.Net 2.0 on my IIS8 web server, what does?

So I ignore the warning, and it creates a site, but the web.config file seems grossly incompatible with the installed IIS8.

My attempt to run the default webpage created by VWS 2008 failed, first because it detected duplicate .config sections (the parent sites not allowing overrides of things like ScriptResourceHandler). 

After resolving these problems, it reports that it cannot find my Default.aspx file.  It can find and display a .htm file from the site.  So the issue is with ASP.Net 2.0 running under IIS8.  The error message (below) suggests that it attempted to handle the .aspx file using static file handler.  I looked at Handler Mappings in IIS Manager, and .aspx is not shown (shown are *.rules *.asmx *.svc *.xoml).  Should *.aspx be on this list?  Seems like that should be automatic, along with *.ascx , etc.  Seems kind of crazy to be manually adding a .aspx handler.

Any advice would be GREATLY appreciated.

Here is the error message

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

HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

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.)
  • If ASP.NET is not installed.

Things you can try:

  • In system.webServer/handlers:
    • Ensure that the expected handler for the current page is mapped.
    • Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
    • Pay extra 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.
    1. To set a MIME type, use the following syntax: %SystemRoot%\windows\system32\inetsrv\appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
    2. The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
    3. For example, to add a MIME map for a file which has the extension ".xyz": 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.
  • Install ASP.NET.
  • 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.

Detailed Error Information:

Module   StaticFileModule
Notification   ExecuteRequestHandler
Handler   StaticFile
Error Code   0x80070032
Requested URL   http://localhost:80/WebSitez/default.aspx
Physical Path   C:\inetpub\wwwroot\WebSitez\default.aspx
Logon Method   Anonymous
Logon User   Anonymous

 

 

"Go to definition" command not availaible on context menu in visual studio 2012

0
0

Hello 

I use visual studio 2012 for an MVC 3 applciation .

I cannot find the "Go to Definition"  command when pointing to a css class in a ".cshtml" file 

hitting F12 has no effect  .

references for b2b website(web services)

0
0

  Hi,im currently handling a new projeect on B2B e-commerce website. This project requires us to make the suppliers website and we as the company can consume the web service.

The business Process Workflow:

1.The company admin raise the puchase order and send purchase order(PO)

2.Then, the supplier receive the PO and create delivery order(DO) and deliver customer order

3.Then, the company admin update stock.(bought on credit)

4.Then supplier create invoice and send invoice to us.

5.the company admin make payment

6.Then, the supplier receive payment and update invoice. So, i would like to request for any references, help,examples,samples that would assist my projeect. =p

Deploy Visual Studio 2010 via AD and GPO

0
0

Hi All,

I want to install deploy visual studio professional edition 2010 and SQL server 2008 via Active Directory and GPO. 

I tried to do that by giving shared path of msi but it is not working. 

Can any one provide me step by step method to do so...  

Thanks,

ASP.NET development on Windows 8 PCs

0
0

I've had my head down for a couple of years, blithly developing web apps using VWD 2008 Express and PC apps using Visual Studio 2005.

Thanks to a computer crash, I am now trying to create a workable and sane development environment on a Windows 8 PC.  My first priority is to port my earlier development projects to this platform.

For starters, I downloaded and installed VWD 2008.  This turned out to be incompatible with IIS 8 that comes with Win 8 PCs.  After reading the fine print, I see that neither VWD 2008 Express nor VWD 2010 Express are listed as being compatible with Windows 8.  So I look again at the VWD and Vis Studio lineup, and I see:

Visual Studio Express 2012 for Web
Visual Studio Express 2012 for Windows 8
Visual Studio Express 2012 for Windows Desktop
Visual Studio Express 2012 for Windows Phone

I am assuming that with VSE 2012 for Web I can continue working on projects that I have built using VWD 2008 Express on a Vista PC.  Can someone confirm that this is true?

I am also assuming that with VSE 2012 for Windows Desktop I can can continue working on Windows Forms projects that I have built using Visual Studio 2005.  Can someone confirm that this is true?

I have Visual Studio 2005 on a CD.  Is this useable on a Windows 8 PC?

Thanks for any guidance you can offer.


Update 1 : I installed VSE 2012 for Web.  It installed IIS Express (I had previously 'installed' IIS 8 by using "Turn Windows Features On and Off").

It appears that IIS 8 Sites are referenced by http://localhost (which seems to default to localhost:80) whereas IIS Express Sites are referenced by http://localhost:8080  Also, it seems that to create a new ASP.Net Web Forms Site under IIS,  you must Run VSE as Administrator. 
Question:  How can you set "Run as Administrator" permanently for an application?  As far as I can tell you must do this each time you launch the program.

After using VSE 2012 creating a simple website under IIS, I found that you can't debug it and you can't run it.  Very nice. 
Question: Just why do I want IIS 8 on my PC?

After creating a simple website under IIS Express, I found that you can debug it and you can run it.

Update 2:

Using "Turn Windows Features On and Off" I 'removed' IIS 8 from Windows.  But it's still there.  Still doesn't do anything for me except make 'localhost' unavailable to IIS Express (I have to use 'http://localhost:8080' to get to IIS Express sites). 
Question: I assume that somewhere a default for 'localhost' is set to 'localhost:80'.  Is there a way to change this to 'localhost:8080' ??

Meanwhile IIS Express seems to be contained in folders under My Documents (strange), and I can find no way to configure this software.  IIS, which does nothing for me, remains available under Control Panel > Administrative Tools and is highly configurable even though unusable.

I will continue to update this thread as I discover more about using this wonderful new OS.  Maybe it will help someone somewhere.

 

 


Online Reservation

0
0

Hi , 

Can please any one help me or give me a tutorial for Online Reservation system using ASP.NET C# . 

Thanks

Debugging javascript files in modal windows not working when in VS2012 using IE10 in Windows 8

0
0

I have a project which uses a number of modal pages opened using the window.showModalDialog function. If a breakpoint is placed in a javascript file linked to a page opened in a modal window then a No Source Available error is shown.

The breakpoints work fine on javascript files linked to pages in the main IE window, i.e. not popups.

This problem has only started to occur since upgrading to VS 2012 and using Windows 8 and using IE 10. If works fine using VS 2012 on Windows 7 and IE9.

Any one got any ideas?

Migrating from .Net 1.1 to .Net 3.5

0
0

Hello there,


I am trying to migrate the codes from .net 1.1 to make it working in .Net 3.5

Most of the files I am trying to convert is .ascx extension files, and I am using Visual Web Developer 2010 Express for my coding.

Could anyone here please help me to start with migration.

Thank you!!!

Compiler Error Message: BC30137

0
0

Hi,

First post and apologies if i have placed this in the wrong section.

I have installed IIS 7.5 on my Windows 7 32 bit machine and have been creating a website in Visual Studio 2010. After setting up my 'Default Website' to point to the root folder and then opening 'Localhost', i am presented with the below error.

I have tried the website using my works computer's IIS and it loads fine?

Can anyone help.

Thanks Server

Error in '/' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30137: Error saving temporary Win32 resource file 'C:\Windows\TEMP\vbc2DA5.tmp': System Error &H80070005& Source Error: [No relevant source lines] Source File: vbc : Line: 0 Show Detailed Compiler Output: c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /out:"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4c1f4652\43afe32c\App_Web_masterpage.master.cdcab7d2.m7d6lfkx.dll" /debug- /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4c1f4652\43afe32c\App_Web_masterpage.master.cdcab7d2.m7d6lfkx.0.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4c1f4652\43afe32c\App_Web_masterpage.master.cdcab7d2.m7d6lfkx.1.vb" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4c1f4652\43afe32c\App_Web_masterpage.master.cdcab7d2.m7d6lfkx.2.vb" Microsoft (R) Visual Basic Compiler version 8.0.50727.5420 for Microsoft (R) .NET Framework version 2.0.50727.5456 Copyright (c) Microsoft Corporation. All rights reserved. vbc : error BC30137: Error saving temporary Win32 resource file 'C:\Windows\TEMP\vbc2DA5.tmp': System Error &H80070005& Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456

ASP.NET Fall 2012 Update - Windows Azure Authentication is missing

0
0

Hi

I installed ASP.NET Fall 2012 Update BUILD Prerelease on my VS2012 ultimate machine because I am interested in“Windows Azure Authentication” which is the integration with Windows Azure Active Directory.

The problems is that after succesfuly installing the package I cannot find:  Enable Windows Azure Authentication when right clicking an MVC project (intanet or internet templates)

As I know there are no prequsites but VS2012.

Any ideas?

Thanks

Manu

Viewing all 3509 articles
Browse latest View live




Latest Images