|
Hi,
We have all our code base in team foundation server.
All of a sudden i am getting this error message, related to getting the latest files from TFS. It is not able to able to load the main web site project, resulting in this error message.
I have VS2012. I had no issues in past opening the solution, it is just the past week that i am having a problem.
But my fellow developers have VS2010.
Visual Studio needs to make non-functional changes to this project in order to enable the project to open in this version and Visual Studio 2010 SP1 without impacting project behavior.
I am not able to reload the main project, comes up with
<pre lang="text"> error : The Web Application Project Emerson is configured to use IIS. The Web server 'http://localhost/' could not be found.
I am at my wits end trying to research this issue. Any thoughts? anything i missed?
Much much appreciated!
|
|
|
|
|
Hi All,
I solved this issue by addressing these two items:\
1. Regarding the first error, need to remove the following tags in the csproj file
<FileUpgradeFlags>0</FileUpgradeFlags>
<UpgradeBackupLocation>blah\blah\blah</UpgradeBackupLocation>
<OldToolsVersion>4.0</OldToolsVersion>
2. Regarding the IIS error, I had to do this:
<UseIIS>True</UseIIS> change to <UseIIS>False</UseIIS>
I have another URL in place, and dont really use the localhost, my website has a defined another url in IIS, like http://mydev.ee.com.
But i am still using IIS, how does this still work?
many thanks,
|
|
|
|
|
|
Make online compiler - or expose an existing compiler online?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
|
I listened closely...and it's clear that you have no idea what are you talking about. Just for put something before you - one of the best c compilers has over 7 million (7000000) lines of source code...
Other things that you may not know about is how to ask - nicely...
prince_crazy wrote:
listen i don't have time to explain my question again |
If you have no time - go on...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
|
|
Are you asking how to write an online compiler?
Veni, vidi, abiit domum
|
|
|
|
|
The answer is:
Quote: listen i don't have time to explain my question again..
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
no how to make online compiler in c#
|
|
|
|
|
OK, so you are not planning to write it, but how do you expect to 'make' it? One possibility is that you have the compiler on your website, and allow a user to enter the source code on a web page. You then send that source to the server, compile it, capture the output and display the results back on the web page. You would then have some object code on your server, so what would you expect to do with that?
Veni, vidi, abiit domum
|
|
|
|
|
prince_crazy wrote: please help me out to make online compiler in c#.net???
Take time to explain your problem in detail. Also tell us what you've tried so far and where are you stuck. If you haven't started anything and just need the source code, then you've come to the wrong place. We don't write or give code to you.
If you don't have time to explain your question again, feel free to logoff from CodeProject and play your favorite game. We're professionals who have a job elsewhere and try to help fellow developers with their problems. We don't have time to answer your question if you don't have the time to explain your question well.
prince_crazy wrote: please please help me out
please
please
Remember that this is not Facebook; this is CodeProject, a professional site for programmers.
|
|
|
|
|
A simple version could:
Start by capturing the source code and writing to a text file.
Then execute the C compiler on the server, sending the output to a file so it can be displayed to the user
If it compiles OK, execute the compiled program, again directing the output to a file which you can then display to the user.
You can get moe sophisticated - like this site[^]
MVVM # - I did it My Way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011
.\\axxx
(That's an 'M')
|
|
|
|
|
Your comments:
Quote: please please ... please
and then:
Quote: i dont have time to explain
You want help also and you are arrogant too. This doesnt work arround.
Be humble brother. Firstly no one will take what ever you just said. Pay respect to people. They are far knowledgeable then what you are. And do your homework. If you did that, you would not have come here to ask such a question.
|
|
|
|
|
I have a ForwardPosting.aspx page. It is a content page under the master page "MasterPages\MasterPage.master".
When its loading, the "MainFields" Div is shown normally. The "MainFields" Div markup code is the part bolded part along with its "MainFieldsDivStyle" CSS styling as following:
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.MainFieldsDivStyle
{
border-color: Black;
width: 75%;
border-style: solid;
margin-top: 22px;
background: rgb(219, 219, 219);
background: rgb(219, 219, 219);
}
.PopUpDivStyle
{
border-color: Black;
width: 50%;
border-style: solid;
margin-top: 22px;
background: rgb(219, 219, 219);
background: rgb(219, 219, 219);
}
.PopUpTableStyle
{
height:50px;
width:88px;
margin-left: 0px;
}
.StatusDDStyle
{
border: thin solid #000000;
background-color: #DADADA;
text-align:right;
}
.ErrorMessage
{
color: red;
text-align: right;
font-family: "Sakkal Majalla";
font-style: normal;
font-size: x-large;
}
.CellStyle
{
background-color:#7DE6FF;
border-color:Black;
border-style:solid;
border-width:1px;
}
.FileUploadStyle
{
direction:rtl;
}
.style2
{
font-size: 26px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="CpMainContent" Runat="Server">
<script type="text/javascript">
function textCounter(field, maxlimit) {
var countfield = document.getElementById('<%=lblCharacterRemaining.ClientID %>');
if (field.value.length > maxlimit) {
field.value = field.value.substring(0, maxlimit);
return false;
}
else {
countfield.innerHTML = maxlimit - field.value.length;
}
}
function IsFileSelected() {
if (document.getElementById("<%=AttachmentsSelecter.ClientID%>").value == "") {
document.getElementById("<%=AttachmentsSelecter.ClientID%>").style.color = "Transparent";
document.getElementById("<%=AttachmentsSelecter.ClientID%>").style.backgroundColor = "Red";
}
else {
document.getElementById("<%=AttachmentsSelecter.ClientID%>").style.color = "black";
document.getElementById("<%=AttachmentsSelecter.ClientID%>").style.backgroundColor = "Green";
}
}
</script>
<div id="MainFields" runat="server" class="MainFieldsDivStyle" >
<table id="ReplyingForm" runat="server" width="98%">
<tr>
<td width="30%" style="text-align: right">
</td>
<td>
</td>
<td width="48%" height="50px">
</td>
<td >
</td>
<td width="10%" >
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right">
<asp:textbox ID="SourceTxtBox" runat="server" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 0px; border-style:solid; border-color:Black; "
Width="500px" Enabled="False"></asp:textbox>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="FromLabel" runat="server" Text="مـــــــن"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right">
<asp:DropDownList ID="TargetName" runat="server" DataSourceID="SDS1"
DataTextField="Name" DataValueField="Indx" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 0px; margin-bottom: 0px; border-style:solid; border-color:Black;"
Width="504px" BackColor="White" />
</td>
<td align="right" class="CellStyle">
<asp:Label ID="ToLabel" runat="server" Text="إلـــى"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="30px"
style="font-size: 26px;; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right">
<asp:textbox ID="RefNoTxtBox" runat="server" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 0px; border-style:solid; border-color:Black; "
Width="500px" Enabled="False"></asp:textbox>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="RefNoLabel" runat="server" Text="مرجع الرسالة"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right">
<asp:textbox ID="LetterIDTxtBox" runat="server" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 0px; border-style:solid; border-color:Black; "
Width="500px" Enabled="False"></asp:textbox>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="LetterIDLabel" runat="server" Text="رقم الرسالة"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="30px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right">
<asp:textbox ID="SubjectTxtBox" runat="server" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 0px; border-style:solid; border-color:Black; "
Width="500px" Enabled="False"></asp:textbox>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="SubjectLabel" runat="server" Text="الموضــوع"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:RequiredFieldValidator ID="CommentsRequiredValidator" runat="server"
ErrorMessage="لم تقم بإدخال الملاحظات" ControlToValidate="CommentsTxtBox"
CssClass="ErrorMessage" SetFocusOnError="True" Display="Dynamic">*</asp:RequiredFieldValidator>
</td>
<td>
</td>
<td align="right">
<asp:TextBox ID="CommentsTxtBox" runat="server" TextMode="MultiLine" Height="100px"
Width="500px" BorderColor="Black" BorderStyle="Solid" Style="font-size: 22px;
font-family: 'Sakkal Majalla'; text-align: right;" MaxLength="400" onkeyup="textCounter(this,400);"></asp:TextBox>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="CommentsLabel" runat="server" Text="الملاحظات"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td style="text-align: right">
<asp:Label ID="lblCharacterRemaining" runat="server" Text="400" Height="35px" Style="font-family: Fanan;
font-size: 20px; text-align: center; margin-top: 0px; border-style: solid; border-color: Black;"
Width="80px" BackColor="#F9F9F9" Enabled="False" BorderColor="Black" BorderStyle="Solid"
BorderWidth="1px"></asp:Label>
</td>
<td class="CellStyle">
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right">
<asp:DropDownList ID="RAPDDL" runat="server" Height="35px"
style="font-family: Fanan; font-size: 22px; text-align: center; margin-top: 0px; border-style:solid; border-color:Black; "
Width="80px" DataSourceID="SDS2" DataTextField="Count" DataValueField="Count">
</asp:DropDownList>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="RAPLabel" runat="server" Text="مهــــــلة الـــرد"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="right" >
<asp:DropDownList ID="ImportanceDD" runat="server" Height="32px"
style="font-family: SC_AMEEN; font-size: 20px; text-align: center; margin-top: 0px; border-style:solid; border-color:Black;"
Width="80px" DataSourceID="SDS3" DataTextField="Importance"
DataValueField="ImportValue">
</asp:DropDownList>
</td>
<td align="right" class="CellStyle">
<asp:Label ID="Label1" runat="server" Text="الأهمية"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;"
BorderColor="Black" Width="110px" >
</asp:Label>
</td>
<td>
</td>
</tr>
<tr >
<td style="text-align: right">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="لم تقم باختيار أي ملف مرفق" CssClass="ErrorMessage"
ControlToValidate="AttachmentsSelecter" SetFocusOnError="True"
Display="Dynamic">*</asp:RequiredFieldValidator>
</td>
<td>
<asp:CustomValidator ID="CustomValidator1" runat="server"
ErrorMessage="نوع الملف المرفق الذي قمت باختياره غير صحيح"
ControlToValidate="TmpTxt" OnServerValidate="AttachmentValidator1"
CssClass="ErrorMessage" SetFocusOnError="True" Display="Dynamic">*</asp:CustomValidator>
</td>
<td align="right" style="text-align: center">
<asp:FileUpload ID="AttachmentsSelecter" runat="server" onchange="IsFileSelected()"
Width="500px" BorderColor="Black" BorderStyle="Solid"
Height="35px" BackColor="White" BorderWidth="2px" style="margin-left: 4px; font-size: 20px; font-family: Tahoma;"
CssClass="FileUploadStyle" />
<br />
<asp:TextBox ID="RecTmpTxt" runat="server" Visible="False" Width="1px">Scratch</asp:TextBox>
<asp:TextBox ID="SubTmpTxt" runat="server" Visible="False" Width="1px">Scratch</asp:TextBox>
<asp:TextBox ID="TmpTxt" runat="server" Visible="False" Width="1px">Scratch</asp:TextBox>
</td>
<td align="right" class="CellStyle" >
<asp:Label ID="AttachmentLabel" runat="server" Text="المرفقات"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: right;" Width="110px"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:CustomValidator ID="SubmittedByValidator" runat="server"
ErrorMessage="لم تقم بإدخال إسم الذي قام بالتسليم"
ControlToValidate="SubTmpTxt"
OnServerValidate="SubmittedByValidator_ServerValidate" CssClass="ErrorMessage"
SetFocusOnError="True" Display="Dynamic">*</asp:CustomValidator>
</td>
<td>
</td>
<td align="right">
<asp:textbox ID="SubmittedByTxtBox" runat="server" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 2px; border-style:solid; border-color:Black; "
Width="500px"></asp:textbox>
</td>
<td align="right" class="CellStyle" >
<asp:Label ID="SubmittedByLabel" runat="server" Text="قام بالتسليم"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: center;"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: right">
<asp:CustomValidator ID="ReceivedByValidator" runat="server"
ErrorMessage="لم تقم بإدخال إسم الذي قام بالاستلام"
ControlToValidate="RecTmpTxt"
OnServerValidate="ReceivedByValidator_ServerValidate" CssClass="ErrorMessage"
SetFocusOnError="True" Display="Dynamic">*</asp:CustomValidator>
</td>
<td>
</td>
<td align="right">
<asp:textbox ID="ReceivedByTxtBox" runat="server" Height="35px"
style="font-family: 'Sakkal Majalla'; font-size: 22px; text-align: right; margin-top: 0px; border-style:solid; border-color:Black; "
Width="500px"></asp:textbox>
</td>
<td align="right" class="CellStyle" >
<asp:Label ID="ReceivedByLabel" runat="server" Text="قام بالاستلام"
BorderStyle="None" BorderWidth="0px" ForeColor="Black" Height="35px"
style="font-size: 26px; margin-right:5px; font-family: 'Sakkal Majalla'; text-align: center;"
></asp:Label>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td align="center">
<asp:Button ID="PosttheForward" runat="server" BackColor="#6262FF" BorderColor="Black"
BorderStyle="Solid" BorderWidth="1px" ForeColor="White" Height="40px"
style="text-align: center; font-size: 24px; margin-top: 16px; margin-bottom: 20px; font-family: 'Sakkal Majalla';"
Text="حــــول" Width="131px" />
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
<table id="ValidationSummaryTable" runat="server" width="80%">
<tr>
<td rowspan="5" align="right">
<asp:ValidationSummary ID="ValidationSummary1" runat="server"
CssClass="ErrorMessage" DisplayMode="List"
Height="91px" Width="80%" />
</td>
</tr>
</table>
</div>
When the "ForwardPosting.aspx" page is loading I want to put a statement that fires "PopUpDiv" which showing a message "You can not forward..." with "OK" button". While the "PopUpDiv" is shown, the Background style turned to be fully grey. When the user press the "OK" button, the user redirected to another page.
The "PopUpDiv" markup:
<div id="PopUpDiv" runat="server" class="PopUpDivStyle" visible="false">
<asp:Panel ID="Panel1" runat="server" Width="600px" Height="150px" >
<br />
You can not forward the letter because the period finished.
You can only make replying.<br class="style2" />
<br />
<asp:Button ID="PopupButton" runat="server" Height="38px" Text="OK" Width="99px" style="color: #0066CC; font-weight: 700; font-size: medium" />
</asp:Panel>
</div>
So how to preform it using the ModalPopupExtender of the AjaxToolkitControls?
|
|
|
|
|
I've googled and binged and still feel wholly ignorant
I tend the database side of a 'system' or process that our clients update by GETting task info from our web service into an Excel spreadsheet. As tasks are completed, they use a different tab on the spreadsheet to POST info on the task back through the web service. The web service is written in Delphi and hits stored procedures for both the GET and POST. FWIW, I don't have access to the Delphi source code. I'd like to learn to do some of this in .Net/C# and I have access to VS2013.
The GET side returns what LINQ would consider a projection, so there is no 'entity' model in EF, just a complex type. I can duplicate the results of the GET using WCF Data Services. The POST side should talk to a stored procedure that requires a number of parameters that are likewise not an entity, but an amalgam of properties from a couple of SQL tables. This is where I cannot figure things out and can't find any discussion of anything similar. First, the vast majority of examples deal with querying an OData service and the few that deal with POSTing all assume you're creating a new ENTITY or updating an existing one.
So, finally, the question: can anybody tell me if what I'd like to do is even possible with WCF Data Services & EF and, if so, in general terms HOW.
If the answer is that I can't do this in WCF DS & EF, then what do you recommend as the means by which I can learn how to do this, and actually accomplish it?
|
|
|
|
|
How to create timetable with Gridview or Table format?
|
|
|
|
|
Hi all
I know what ever i am going to write will look bit silly, but please if you people can help it will be great for me.
I am working as a developer from past 2 years. i work on web and windows applications.
still now in web application i worked on concepts like ajax, javascript, css, html and c# concepts in a basic manners.
But now i want to go for some new concepts in web application to enhance my skills.
If you guys can suggest me some topics/links for this i will be very thankful to you all..
Thank you
|
|
|
|
|
|
|
How to create connection pool in asp.net?
------------------------
Page Like
|
|
|
|
|
|
I want to show a text from textbox 1 to textbox 2 with different colors in each text,here i am using Array to get text...
|
|
|
|
|
Better you can change the color property of the the textbox2 control dynamically in javascript. For example if you have 10 predefined colors, you can change it dynamically when the event get fired. Event can be a button click or onchange, etc.
|
|
|
|