locked
Compiler Error Message: CS0103: The name 'model' does not exist in the current context

    General discussion

  •  

    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: CS0103: The name 'model' does not exist in the current context

    Source Error:

     
    Line 1: @using Telerik.Web.Mvc;
    Line 2: @model TeamAlpha.WebUI.Areas.operations_manager.Models.Process
    Line 3: @{
    Line 4:   ViewBag.Title = "NewBusinessProcess";

    Source File: c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml    Line: 2


    Show Detailed Compiler Output:

    c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\f7288029\c0864dc6_e037cc01\TeamAlpha.WebUI.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\67a319f8\08492daa_e037cc01\Microsoft.Practices.Unity.Interception.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\c81c7e30\f6b63195_e037cc01\EntityFramework.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Entity.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\f36cf6ac\12f45ca2_e037cc01\Microsoft.Practices.EnterpriseLibrary.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Routing\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Routing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Abstractions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Abstractions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\998d29d2\b45b46be_e037cc01\System.Web.Razor.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\5422e593\ea74cfc2_e037cc01\System.Web.WebPages.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\530760db\4e96a099_e037cc01\Microsoft.Practices.EnterpriseLibrary.Common.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\d2e81ff4\627efea8_e037cc01\Microsoft.Practices.Unity.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\75b60961\0620fcb0_e037cc01\Newtonsoft.Json.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\49c4ac9f\0ad72bc1_e037cc01\System.Web.WebPages.Deployment.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\31b1247b\5634eda6_e037cc01\Microsoft.Practices.ServiceLocation.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\8fd255a5\fad5eaae_e037cc01\Microsoft.Web.Infrastructure.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\98e9e40b\e28a47ba_e037cc01\System.Web.Mvc.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\48b5b852\221f13ca_e037cc01\Telerik.Web.Mvc.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\70d0dc40\709422b6_e037cc01\System.Web.Helpers.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\assembly\dl3\f9845b4a\f691afc3_e037cc01\System.Web.WebPages.Razor.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\App_global.asax.23oaa4bv.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\App_Web_addbusinessprocess.cshtml.4be26479.hjpceuzr.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\App_Web_addbusinessprocess.cshtml.4be26479.hjpceuzr.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\0091d8b3\96b0b0b7\App_Web_addbusinessprocess.cshtml.4be26479.hjpceuzr.1.cs"
    
    
    Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
    Copyright (C) Microsoft Corporation. All rights reserved.
    
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(2,7): error CS0103: The name 'model' does not exist in the current context
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(4,5): error CS0103: The name 'ViewBag' does not exist in the current context
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(7,5): error CS0246: The type or namespace name 'SelectList' could not be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(7,27): error CS0246: The type or namespace name 'SelectList' could not be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(7,38): error CS0103: The name 'ViewBag' does not exist in the current context
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(9,5): error CS0246: The type or namespace name 'SelectList' could not be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(9,28): error CS0246: The type or namespace name 'SelectList' could not be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(9,39): error CS0103: The name 'ViewBag' does not exist in the current context
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(14,14): error CS1061: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'BeginForm' and no extension method 'BeginForm' accepting a first argument of type 'System.Web.WebPages.Html.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(14,67): error CS0103: The name 'FormMethod' does not exist in the current context
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(30,75): error CS1061: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'LabelFor' and no extension method 'LabelFor' accepting a first argument of type 'System.Web.WebPages.Html.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(31,76): error CS1061: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'TextBoxFor' and no extension method 'TextBoxFor' accepting a first argument of type 'System.Web.WebPages.Html.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
    c:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml(32,76): error CS1061: 'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'ValidationMessageFor' and no extension method 'ValidationMessageFor' accepting a first argument of type 'System.Web.WebPages.Html.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
    

    Show Complete Compilation Source:

    Line 1:  #pragma checksum "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "579A2286376A93DE70F5C3A3C934A3F9"
    Line 2:  //------------------------------------------------------------------------------
    Line 3:  // <auto-generated>
    Line 4:  //   This code was generated by a tool.
    Line 5:  //   Runtime Version:4.0.30319.225
    Line 6:  //
    Line 7:  //   Changes to this file may cause incorrect behavior and will be lost if
    Line 8:  //   the code is regenerated.
    Line 9:  // </auto-generated>
    Line 10:  //------------------------------------------------------------------------------
    Line 11:  
    Line 12:  namespace ASP {
    Line 13:    using System;
    Line 14:    using System.Collections.Generic;
    Line 15:    using System.IO;
    Line 16:    using System.Linq;
    Line 17:    using System.Net;
    Line 18:    using System.Web;
    Line 19:    using System.Web.Helpers;
    Line 20:    using System.Web.Security;
    Line 21:    using System.Web.UI;
    Line 22:    using System.Web.WebPages;
    Line 23:    using System.Web.WebPages.Html;
    Line 24:    
    Line 25:    #line 1 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 26:    using Telerik.Web.Mvc;
    Line 27:    
    Line 28:    #line default
    Line 29:    #line hidden
    Line 30:    
    Line 31:    
    Line 32:    public class _Page_Areas_operations_manager_Views_Operation_Manager_AddBusinessProcess_cshtml : System.Web.WebPages.WebPage {
    Line 33:      
    Line 34:  #line hidden
    Line 35:  
    Line 36:      
    Line 37:      public _Page_Areas_operations_manager_Views_Operation_Manager_AddBusinessProcess_cshtml() {
    Line 38:      }
    Line 39:      
    Line 40:      protected ASP.global_asax ApplicationInstance {
    Line 41:        get {
    Line 42:          return ((ASP.global_asax)(Context.ApplicationInstance));
    Line 43:        }
    Line 44:      }
    Line 45:      
    Line 46:      public override void Execute() {
    Line 47:  
    Line 48:  
    Line 49:        
    Line 50:        #line 2 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 51:  Write(model);
    Line 52:  
    Line 53:        
    Line 54:        #line default
    Line 55:        #line hidden
    Line 56:  WriteLiteral(" TeamAlpha.WebUI.Areas.operations_manager.Models.Process\r\n");
    Line 57:  
    Line 58:  
    Line 59:        
    Line 60:        #line 3 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 61:   
    Line 62:    ViewBag.Title = "NewBusinessProcess";
    Line 63:    Layout = "~/Views/Shared/_Layout.cshtml";
    Line 64:    //string a = ViewBag.w;
    Line 65:    SelectList list = new SelectList(ViewBag.FunctionDropdown, "BusinessFunctionID", "BusinessFunction");
    Line 66:  
    Line 67:    SelectList list1 = new SelectList(ViewBag.deptdd, "BusinessDepartmentID", "BusinessDepartment");
    Line 68:  
    Line 69:  
    Line 70:        
    Line 71:        #line default
    Line 72:        #line hidden
    Line 73:  WriteLiteral("\r\n<h2>NewBusinessProcess</h2>\r\n\r\n");
    Line 74:  
    Line 75:  
    Line 76:        
    Line 77:        #line 14 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 78:  using (Html.BeginForm("AddBusinessProcess", "Operation_Manager", FormMethod.Post, new { id = "Redtypeid" }))
    Line 79:  {
    Line 80:    
    Line 81:    
    Line 82:    
    Line 83:        
    Line 84:        #line default
    Line 85:        #line hidden
    Line 86:        
    Line 87:        #line 18 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 88:  Write(Html.ValidationSummary(true));
    Line 89:  
    Line 90:        
    Line 91:        #line default
    Line 92:        #line hidden
    Line 93:        
    Line 94:        #line 18 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 95:                  
    Line 96:  
    Line 97:        
    Line 98:        #line default
    Line 99:        #line hidden
    Line 100: WriteLiteral(@"  <fieldset style=""width: 100%; height: 100%;"" >
    Line 101:     <legend></legend>
    Line 102:     <div style=""border-width:2px;border-style:solid;border-color:Green;margin-left:auto;margin-top:auto;margin-right:auto;width:600px;"">
    Line 103:     <div style=""height:40px;background-color:#999983;"">
    Line 104:     <div style=""font-size:20px;margin-top:auto;margin-bottom:auto;padding-top:5px; "">
    Line 105:    
    Line 106:     ");
    Line 107: 
    Line 108: 
    Line 109:       
    Line 110:       #line 25 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 111:   Write(Html.Label("New Process"));
    Line 112: 
    Line 113:       
    Line 114:       #line default
    Line 115:       #line hidden
    Line 116: WriteLiteral("\r\n    </div>\r\n    </div>\r\n    <div>&nbsp;</div>\r\n    \r\n     <d" +
    Line 117: "iv style=\"display:inline;width:50px;padding-left:20px;\"> ");
    Line 118: 
    Line 119: 
    Line 120:       
    Line 121:       #line 30 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 122:                                 Write(Html.LabelFor(model => model.BusinessProcess));
    Line 123: 
    Line 124:       
    Line 125:       #line default
    Line 126:       #line hidden
    Line 127: WriteLiteral(":</div>\r\n     <div style=\"display:inline;width:50px;padding-left:100px;\"> ");
    Line 128: 
    Line 129: 
    Line 130:       
    Line 131:       #line 31 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 132:                                 Write(Html.TextBoxFor(model => model.BusinessProcess));
    Line 133: 
    Line 134:       
    Line 135:       #line default
    Line 136:       #line hidden
    Line 137: WriteLiteral("</div>\r\n     <div style=\"display:inline;width:50px;padding-left:100px;\"> ");
    Line 138: 
    Line 139: 
    Line 140:       
    Line 141:       #line 32 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 142:                                 Write(Html.ValidationMessageFor(model => model.BusinessProcess));
    Line 143: 
    Line 144:       
    Line 145:       #line default
    Line 146:       #line hidden
    Line 147: WriteLiteral("</div>\r\n     <br />\r\n     <br />\r\n     <div style=\"display:inline;wid" +
    Line 148: "th:50px;padding-left:20px;\"> ");
    Line 149: 
    Line 150: 
    Line 151:       
    Line 152:       #line 35 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 153:                                 Write(Html.Label("Business Department"));
    Line 154: 
    Line 155:       
    Line 156:       #line default
    Line 157:       #line hidden
    Line 158: WriteLiteral(":</div>\r\n     <div style=\"display:inline;width:50px;padding-left:70px;\"> ");
    Line 159: 
    Line 160: 
    Line 161:       
    Line 162:       #line 36 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 163:                                 Write(Html.DropDownList("deptdd", list1));
    Line 164: 
    Line 165:       
    Line 166:       #line default
    Line 167:       #line hidden
    Line 168: WriteLiteral("</div>\r\n     <br />\r\n     <br />\r\n     <div style=\"display:inline;wi" +
    Line 169: "dth:50px;padding-left:20px;\"> ");
    Line 170: 
    Line 171: 
    Line 172:       
    Line 173:       #line 39 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 174:                                 Write(Html.Label("Business Function"));
    Line 175: 
    Line 176:       
    Line 177:       #line default
    Line 178:       #line hidden
    Line 179: WriteLiteral(":</div>\r\n     <div style=\"display:inline;width:50px;padding-left:90px;\"> ");
    Line 180: 
    Line 181: 
    Line 182:       
    Line 183:       #line 40 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 184:                                 Write(Html.DropDownList("functiondropdown", list));
    Line 185: 
    Line 186:       
    Line 187:       #line default
    Line 188:       #line hidden
    Line 189: WriteLiteral("</div>\r\n    \r\n   \r\n    <div>&nbsp;</div>\r\n    <div>&nbsp;</div>\r\n   " +
    Line 190: " <div>&nbsp;</div>\r\n    </div>\r\n    <div style=\"height:50px;\">&nbsp;</div" +
    Line 191: ">\r\n \r\n ");
    Line 192: 
    Line 193: 
    Line 194: 
    Line 195: WriteLiteral(@"
    Line 196:  <div style=""border-width:2px;border-style:solid;border-color:#999983;margin-left:auto;margin-top:auto;margin-right:auto;width:600px;"">
    Line 197:  <div>&nbsp;</div>
    Line 198:  <div style=""display:inline;padding-top:50px;padding-left:150px;padding-bottom:50px;"">
    Line 199:  <input type=""submit"" style=""width:100px;height:35px;"" id=""Btn1"" value=""Add"" />
    Line 200:  </div>
    Line 201:  <div style=""display:inline;padding-top:50px;padding-left:100px;padding-bottom:50px;""><a href="""" style=""text-decoration:none;"" id=""Cancel1"">Cancel</a></div>
    Line 202:  <div>&nbsp;</div>
    Line 203:  <div style=""height:40px;background-color:#999983;"">
    Line 204:  <div style=""font-size:14px;margin-top:auto;margin-bottom:auto;padding-top:10px; "">
    Line 205:  &lt Rohan &gt ,you just about to create a new campaign type
    Line 206:  </div>
    Line 207:  </div>
    Line 208:  
    Line 209:  </div>
    Line 210:  
    Line 211:    ");
    Line 212: 
    Line 213: 
    Line 214: 
    Line 215: WriteLiteral("\r\n  </fieldset>\r\n");
    Line 216: 
    Line 217: 
    Line 218:       
    Line 219:       #line 70 "C:\NewWebSites\dev.teamapps.pureprofile.com\Areas\operations_manager\Views\Operation_Manager\AddBusinessProcess.cshtml"
    Line 220: }
    Line 221: 
    Line 222:       
    Line 223:       #line default
    Line 224:       #line hidden
    Line 225: 
    Line 226: 
    Line 227: WriteLiteral(@"
    Line 228: <script type=""text/javascript"">
    Line 229:   $('#Redtypeid').submit(function () {
    Line 230: 
    Line 231:     if ($('#BusinessProcess').val() === '') {
    Line 232:       alert('BusinessProcess cannot be blank.Pls Enter some value');
    Line 233:       return false;
    Line 234:     }
    Line 235:   });
    Line 236: </script>
    Line 237: 
    Line 238: 
    Line 239: 
    Line 240: 
    Line 241: 
    Line 242: ");
    Line 243: 
    Line 244: 
    Line 245:     }
    Line 246:   }
    Line 247: }
    Line 248: 


    Hi Guys i am getting this error this is happening on our dev server on my local copy this is working fine pls can u guys explaing me what is the problem while uploading on the dev server

    THANKS!!

    Monday, July 04, 2011 2:56 AM

All replies