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

Possible to make a user-friendly forum in VWD 2010 Express?

$
0
0

Hi everybody! Just a quick question; does anybody know if you can add a user-friendly forum to a VWD 2010 Express site page? (by 'user-friendly' i mean that users can log into their site account and post threads across various different topics/categories and other users can reply and comment on the post).

If this is possible, even if there's a bit of coding involved, i'd love to hear you guys' feedback! (btw, this is my first ASP.net forum post!)

Thanks in advance! :)


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

How do you tell what branch your active solution is in?

$
0
0

What is the best way of handling/detecting what branch the current active solution belongs to?

Looking at the path of things is too cumbersome and will thus make be do mistakes, now and again.

What I'm currently do is to prefix the solution name with the branch name, but that also fells wrong since I have to keep that in mind when I merge.

How do you do it?

Conneting remote database error

$
0
0

I am connecting a remote sql server database from my asp.net application. Using the connection string  in web config file

<add key="SqlConnectionString" value="Data Source=http://p1.mtxinc.com:8234;Database=test;Uid='test';Pwd='test';Network Library =dbmssocn"/>

But i am getting this error:

System.Data.SqlClient.SqlException was unhandled by user code
  class="20"
  ErrorCode=-2146232060
  HResult=-2146232060
  LineNumber=0
  Message=A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
  Number=123
  Server=""
  Source=.Net SqlClient Data Provider
  State=0
  StackTrace:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at companystores._default.deleteAllProd() in J:\loreal\companystores---Catalog-Free-Goods-Website\companystores\default.aspx.vb:line 346
       at companystores._default.Page_Load(Object sender, EventArgs e) in J:\loreal\companystores---Catalog-Free-Goods-Website\companystores\default.aspx.vb:line 126
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  InnerException: System.ComponentModel.Win32Exception
       ErrorCode=-2147467259
       HResult=-2147467259
       Message=The filename, directory name, or volume label syntax is incorrect
       NativeErrorCode=123
       InnerException: 
Can anyone help in solving this problem.
Thanks
Sodmeb

VS2010 very slow with large script block

$
0
0

Hi All: I used "swiffy" to convert an SWF to HTML5, which generates a large client script block to embed on a webpage. This one in particular is very large...about 350Kb (too large, I know), and once it's embedded in the <head> VS2010 slows to an unusable crawl. I presume it's Intellisense trying to parse all the code that's causing it to slow down...is there any way to disable it for this page so I can speed things up?

I'm in a VB web project...I've seen some links to disabling Intellisense in C#, but I don't see any intellisense options for "Basic" or "Jscript". I've also seen recommendations to delete fceap.dll, but I only want to temporarily disable it for this specific page (or temporarily for the project as a whole).

How to swtich over to source part of design page from .vb code file

$
0
0

I am working on visual studio 2008.  When i right click on .vb page and choose view designer, it switches to design mode of design page. But i need it to switch to source mode of design page where i can see the desgin code. I am unable to find the settings for this. Please help

"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


RE: IIS and SQL in Visual Studio 2012?

$
0
0

Maybe a stupid  question.

Have been worked with Apache, Php and actionscipt.

Now I´m trying to walk over to C# with asp.net.

But are there a default installation of webserver (IIS) and SQL database in Visual Studio 2012?

I´m used to work with wwwroot but with Visual Studio 2012 Ultimate I cant see where everything is located after the installation.

If there is a default installation - where on C drive can I see a map similar to wwwroot?

Where do I see the webserver on C disc and set the permissions to read and write the sql database?

"...Cannot open database "Northwind" requested by the login. The login failed. Login failed for user "User1-Dator\User1" 'Now I only get error when trying to query the mdb database..."

Turned of my firewall.


I really appreciate som help

:0)

Visual Studio 2010: Live Site Bin referencing local machine version....

$
0
0

I am certain I have a reference set incorrectly somewhere. My local machine version runs a Visual Studio 2010 Project using an Access Database and SQL Server 2008 EXPRESS R2 version. Everything works locally- just great. Super duper. no problems. 

I have deployment package settings set to 3.5 because my web host provider is behind the times and runs 2.0. with SQL server 2005.

When I copy the local machine version's bin to the web host provider (live site). The pages work for about 3 or 4 click throughs. At which point I throw an acception on the Access database connection string that references a file on my LOCAL machine.

So far, I have cleaned my local solution. Deleted any files that contain a reference to my local machine....most all of which were in the bin.

I suspect, that the DLL is running scripts that are writing the local machine reference...but I sure can't find them.

Any help?

Please help!

 

asp.net 4.5 where the pixel measuring stick

$
0
0

asp.net 4.5 where the pixel measuring stick

vbc.exe too much memory and hang

$
0
0

Im using visual web developer express 2010 (Asp.net) and I have many folders in the site, the code is written in vb.net

one of the store folder has the problem, in  any of the file in the store directory, when I open and view in the browser, suddenly vbc.exe in task manager will eats the memory and i have to kill the process in the task manager..

but this not happening for the other folders in the same site.. what should I do... I created a new blank page also in the same store directory, still vbc.exe is eating the whole memory and hangs..

any guess.im using windows xp.. thanks

Unable to install ASP.NET MVC4

$
0
0

Hi,

I'm running Windows Server 2008 R2 and Visual Studio 2010 SP1 and I'm trying to install ASP.NET MVC 4 using the standalone installer

The installer fails instantly with error "0x80070648 - Unknown property". The logs indicating a problem with NuGet:

[20B4:18A0][2012-11-13T17:38:54]: Registry key not found. Key = 'Software\Microsoft\DevDiv\vns\Servicing\10.0\xcor'
[20B4:18A0][2012-11-13T17:38:54]: Error 0x80070648: Failed to get version for product in machine context: {BE8DCA37-A15A-4C0B-B601-D18AC34C944D}
[20B4:18A0][2012-11-13T17:38:54]: Detect failed for package: NugetVS2010.msi, error: 0x80070648
[20B4:18A0][2012-11-13T17:38:54]: Detected related package: {EA63C5C1-EBBC-477C-9CC7-41454DDFAFF2}, scope: PerMachine, version: 2.0.20715.0, language: 0

I found NugetVS2010.msi on my drive and run it but it didn't change anything. I've also tried uninstalling and re-installing NuGet.

Any suggestions? 

How to Install Frontpage server extensions in windows 7

$
0
0

Hi,

I recently installed Windows 7 in my PC.I also insyalled Visual Studio 2005 in my system.

while creating web site throgh Visual Studio 2005 IDE , it is giving error that "The Web server  does not appear to have the Front page server extensions Installed".Please help me on this.

 

Thanks in Advance.

Regards,

Sriram

 

Updateable NewsFeed for website?

$
0
0

Hey guys! So i'm currently making a website in Microsoft Visual Web Developer 2010 Express and i've looked all in the toolbox section in the software and i can't seem to find away how to have an updateable news feed (where the website admin can make new threads with a title & main post, then is read-only to other members) on my website's news page. Can anybody help?


VWD 2012 Express for Web database designer

$
0
0

May be I am missing something here but when I first installed VWD 2012 Express I was able to create and edit databases (add tables, modify columns, add stored procedures etc) but now, no matter which of my projects I go to, I no longer have the ability to edit the database structure.

Within the Database Explorer view of VWD, when I open my database and right click on "Tables" the only menu options I have are "Refresh" and "Properties", "add table" has gone. When I right click on an existing table, once again the usual set of menu options is reduced to "Copy, Refresh and Properties"

If I right click on Data Connections, the option "Create New SQL Server Database" is greyed out.

Looking at the event logs on my computer, I see a pair of errors in the system log whenever I first connect to my database, and those errors are:

1) The following fatal alert was generated:48. Ther internal state is 552

2) The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The SSL connection request has failed.

The puzzling this is, I dont recall changning anything on my computer, one day it worked, the next it didn't. The default installation of SQLEXPRESS on my local PC has the "Force Encryption" option set to "No"

Any suggestions as to what is going on?

VS2012 Help

$
0
0

I recently installed windows 7, so I decided to update to VS2012 express, I think I made a mistake or the installation and upgrade should come with some instructions.

1. I can't get fonts and colors to customize

2. I can't get my updated database to work properly - will not open design surface, will not open my stored procedures, will not save/update the database when I change tables or relationships. Asks me to save a separate file and then when I reopen nothing has changed. Queries that worked before stop working.

3. Membership and Roles do not work

The fonts and colors while being a nuissance, I can live without, but I can't live without the data in my database.

What happened to the asp.net configuration tool that helps setup roles/permissions etc????

What server are they using to display on your machine? IIS????

Is there a way to display on your machine without debugging???

Is there any info, help, tutorial on migrating to VS2012 from 2010???

Visual Studio 2012 design view causes freeze

$
0
0

Hi,

I'm using Visual Studio 2012 Professional on Windows 7. Source view works fine, but when I try to switch to design or split view, the file I'm working on freezes. I have to close it to continue my work (in source view). I've never seen design view working in VS 2012!

It looks a bit similar to this problem in the 2008 edition, but the suggestion there is to repair the installation of the "Microsoft Visual Studio Web Authoring Component". It's not installed on my computer and I wouldn't know where to get it or if it's even necessary to have.

Any tips much appreciated!

Debugging dll source code

$
0
0

Hopefully have the correct forum.  Probably a beginner question, but I've been given a web solution with a source library separately.  How do I include the source library in Visual Studio so that I can debug it? 

I think I am setting the debug parameters correctly since it is opening the web application, but it won't hit the breakpoint in the .dll. 

I'm sure it's something simple, but after working on it awhile I'm at a loss.  Thanks for any help.

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

Viewing all 3509 articles
Browse latest View live


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