Configuration :: Combine Two Websites Into One?

Jul 27, 2010 07:17 AM

i am new in i dont know to how to combine two web site into one like domain and subdomain concept. i know the procedure to host one web application in local iis. how to combine two application and how to host in local iis i.e) single url as domain(one web application) and subdomain(another web application).

The url should be like these:




Configuration :: Use To Copy/publish Websites To Web Server Is Not Allowing Us Access To Push Websites?

Oct 15, 2010 11:33 PM

the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.

View 3 Replies View Related

Configuration :: Access Websites From Particular IP?

Oct 05, 2010 04:51 AM

i ve deployed a site, i want to give access only to particular IPs ( to If a request is coming from particular IPs then site should open otherwise a authentication message shown to other users. How can we achieve this?

View 3 Replies View Related

Configuration :: Use The Same Web.config For Different Websites?

Nov 10, 2010 10:14 AM

How can use the same web.config for different websites?

View 2 Replies View Related

Configuration :: Cant Run Websites After Installed The VS 2010?

Jan 19, 2011 12:30 PM

After i Installed the VS 2010. I ran into problems running the 2.0 websites.

I visited the fixes page to read about the IIS metabase. the problem is - aspnet_regiis of framework .net 2.0 doen't work any more. Also all the websites / virtual directories configured in IIS 5.x on Windows XP to use the 2.0 framework don't work.

So i downloaded the Metaacl.vbs to check the settings of IIS metabase on my PC.

The permissions assigned to Admin user and the Service user account seems to be alright. No i am confused as to what is the exact cause of -

1) The websites targeting Framework 2.0 are not working any more

2) Why is the aspnet_regiis corrupt and gives the error - "The application failed to initialize properly" Is it a known compatibility issue for VS 2008 and VS 2010. Can we or Can we not have both of them installed parallely?

View 2 Replies View Related

Configuration :: How To Create One Web.config For Multiple Websites

Jun 04, 2010 03:54 PM

I have 3 web.configs and 1 web project. I compile it once, and when deploy it, all I do is copy the correct web.config to the correct directory.

This is too complicate to maintain, when I have web.config change I must change all the three.

So, what I want is to keep only one web.config file, for all three websites.

In order of doing so, I have created a new settings.xml file, and I wish to read everything from there instead of te web.config file.

to my questions:

1. I need to remove ConnectionString from web.config to the settings.xml file. How do I change the providers connection string programatically?


Seems like moving the connection string to a different file might be a difficult task:)

2. How programatically can I do what I did on the web.config easily:


View 6 Replies View Related

Configuration :: Set Up Multiple Websites In Godaddy's 4G Hosting?

Mar 23, 2011 06:44 AM

I just upgraded to windows 4G hosting from old windows hosting on Godaddy. I have hosted multiple websites on this hosting account. The primary domain website [URL] is working fine after the upgrade but all other sites hosted in same account report some errors.

The structure is like this:


I have checked that the websites in subfolders are set up as an application in IIS 7. Also, the web.config of parent (root) website has the following


tag to stop other child web.config to inherit anything from parent.

I use to code my websites. Before 4G upgrade everything used to work like a charm.
Has anybody else also experiences the same issues? If yes, what are the changes that we need to make to support multiple web sites in same 4G hosting account?

View 5 Replies View Related

Configuration :: VS 2008 Multiple Websites Referencing The Same Files?

Nov 24, 2010 01:36 PM

I would like to have several websites that use the same styles, scripts, and App_GlobalResources. What would be the best way to structure my websites (web applications) to use the same files? I also need to share user controls with code behind.

View 6 Replies View Related

Configuration :: How To Convert Websites Created In VS 2005 & 2008 To VS 2010 Sites

Sep 02, 2010 06:58 PM

I have numerous web sites created over the years. Some were created using FrontPage with aspx pages added that were created in VS 2003 or VS 2005. Others were web sites that were actually created with VS 2005 or 2008. All these older sites reside in the C:Inetpubwwwroot folder of my present development computer, with only the .sln and the .suo files residing in the project folder. All of the sites have counterparts on the Internet.I am about to build a new computer and would prefer to only install VS 2010 on it. When Previously building new computers, I installed VS 2005 and VS 2008 so that I could administer

View 2 Replies View Related

How To Combine Web Applications 3.5 C#

Jul 16, 2009 07:44 PM

how to make an 3.5 application understand that I am part of a higher level of orginization. This orginization is divided by Program. For example, lets say each Program is broken up into A,B,C,D,E,F,G. Each program will have their own users as well as role security. The thing is that all of the users will be in the same aspnet Table in Sql.

Should I link programID with users? How do I seperate role security to not be confused that an administrator of Program A is not an administrator of Program F.

View 2 Replies View Related

SQL Reporting :: Can Combine LIKE And IN

Nov 04, 2010 02:41 PM

I have a report with several filter parameters. Everything works fine presently. For one parameter, I use the LIKE as follows in my WHERE statement:

WHERE drug LIKE '%' + @drugused + '%'

@drugused is the selection value of a dropdown list. But now I want to change my parameter to allow multi-selection. But I am not sure how to write my WHERE statement for this. Normally I would use IN but I'm not sure how to do this with the LIKE.

View 6 Replies View Related

C# - Can Combine Two Objects Into One

Oct 3 10 at 18:02

I'm preparing to pass values to a method:

private string BuildMessage(int templateID, string body, object data)

where the data param is an array of name/value pairs. To prepare my values for that data param I need to combine the properties of a strongly typed class with the values of a simple 2d array.

What's the best way to merge those values?

View 1 Replies View Related

Combine Css And Master Pages?

Feb 14 09

how can i use both the css and master page to make my web pages stylist

View 5 Replies View Related

Utility To Combine Querystrings?

Apr 28 10 at 14:42

Is there a utility to combine querystrings? I'm looking for something like:

Input: Combine("test=a&test2=b", "test3=c") Result: "test=a&test2=b&test3=c"
Input: Combine("test=a&test2=b", "") Result: "test=a&test2=b"
Input: Combine("", "test3=c") Result: "test3=c"

And maybe some weird ones:

Input: Combine("&test=a&test2=b", "?test3=c") Result: "test=a&test2=b&test3=c"

View 5 Replies View Related

Combine Silverlight) With SAP Webdynpro?

Mar 1 10 at 9:59

Does anybody knows possibilities or approaches to combine ASP.NET with SAP Webdynpro (or to embed/integrate Webdynpro in a ASP.NET (or Silverlight) application) ?

View 2 Replies View Related

C# - Combine MP3 Files In Response?

Jan 19 10 at 23:43

I lied! The commandline fails if the two source files have different bitrates (does samplerate matter?). Also, the source code below succeeds when the two sources are the same bitrate. So, this looks like a bitrate challenge now.

Original question:

result.mp3 (from the commandline, below) is playable in WMP11. The ASP.NET code below serves a file which plays fine in WMP11. But, when I uncomment those two lines, WMP11 won't play the file. Something about the code that merges the two MP3 files isn't to the satisfaction of WMP11. How can I change the ASP.NET code to merge the two MP3s in the HTTP response with the success that the 'copy' commandline gives me?

protected void Page_Load(object sender, EventArgs e) {
Response.ContentType = "audio/mpeg";
Response.AddHeader("Content-Disposition", "attachment; filename=test.mp3");
var bytes1 = System.IO.File.ReadAllBytes(@"C: est1.mp3");
//var bytes2 = System.IO.File.ReadAllBytes(@"C: est2.mp3");
private void WriteBytesToResponse(byte[] sourceBytes) {
using (var sourceStream = new MemoryStream(sourceBytes, false)) {

copy /B test1.mp3+test2.mp3 result.mp3

View 3 Replies View Related

Can Combine WebResource.axd CSS Requests

Sep 15 10 at 21:00

I have developed some ASP.NET server controls which include their own javascript and css files. A lot of these controls use jQuery extensions which, as you know, often include their own css files.

I'm using Telerik's RadScript manager which combines the javascript like a boss. However, I'm using the AjaxToolkit's ClientCssResource attribute to include the css files in my server controls, and I have noticed that the CSS files are not getting combined at all. My pages have 10-15 WebResource.axd requests for css files for my server controls.

Everything I find only is about combining javascript, and nothing tells me how I can combine the CSS files. Does anyone know if there is a way to combine the CSS dynamically (I don't want to manually combine as each page might use a different subset of the server controls)?

View 2 Replies View Related

SQL Server :: Combine Two Querys Into One?

Feb 09, 2011 03:09 PM

My query below


I want to combine two querys into one, how do i achieve this result?

View 4 Replies View Related

Combine Script# And Web Controls?

Jan 21 at 2:11

I currently have a Web Application project in VS2010. Each control (in *.ascx files) is contained in it's own separate folder along with the web services used by that control (in *.asmx files) and the javascript object used to manipulate it (in *.js files). So the project layout looks something like:


The project is expanding and I'm looking to upgrade and replace the .js files using Script#. I'd like to maintain this structure but as far as I can tell there's no way to mix Script# and regular C# files in the same project.

I've looked at the Readme PDF on the Script# site and downloaded the PhotoDemo example but I can't find any examples of using Script# along side Web Controls. I've tried adding the 'Script Support' template to the project and then adding both Class and Page templates from the Script# template list but they both get treated as regular C# source code files.

I've used reflector to look into the mscorlib, System.Web, ScriptSharp.Web, ScriptSharp.VisualStudio, ScriptSharp and Script.Windows binaries that are installed by Script# and haven't been able to find anything that would allow this behaviour.

Has anyone implemented something similar or have any further hints?

The only way I've managed to use Script# at the moment is to have a separate Script# project and have the output for the javascript files be inside my Web Application.

View 1 Replies View Related

ADO.NET :: Combine 2 Linq Queries?

Jul 27, 2010 02:45 PM

Is it possible to combine these 2 linq queries ?


View 2 Replies View Related

Cache Combine Two User Data

Mar 15th, 2011, 06:58 AM

I have a master/detail web form and i have implement a caching to hold detail data. i am facing problem that when two user login same time and enter data, cache has combined the data and both user ara getting each other data. i want every user gat his own data.

View 6 Replies View Related

AJAX :: Way To Combine Script Languages

Dec 14, 2010 07:53 PM

I had to rebuild my development environment after my hard drive crashed. Before the crash I used ScriptManager with CompositeScript tags to combine js files using AjaxControlToolkit, version 3.0.20820.29441. Now I am forced to use AjaxcontrolToolkit version 3.5.40412.0 which insists that I use ToolkitScriptManager which seems to combine ALL Ajax controls instead of the ones I specifiy in CompositeScript. And when I use the attribute CombineScriptsHandlerUrl="~/CombineScriptHandler.ashx" (the latter from SampleWebSitethat comes with AjaxControlToolkit) I see in Fiddler that the ashx file cannot be found.

View 1 Replies View Related

Web.config - How To Combine The Authorization Rules

Jan 28 10 at 17:46

I have the following authorization rules in my web.config:


Except for the path attribute these two rules are the same. Is there a way to combine these two rules into one like path = Register.aspx, ForgotCredentials.aspx.

View 3 Replies View Related

C# - Combine Multiple DataViews Into A Single One?

Mar 3 10 at 19:35

I have 4 different select statements which i sequently assign to an sqlDataSource like this:

sqlNoutatiProduse.SelectCommand = select;

and i keep the results in different DataViews like

MySession.Current.dataViewNoutatiProduse1 = (System.Data.DataView)sqlNoutatiProduse.Select(DataSourceSelectArguments.Empty);

Is it possible to combine into a single DataView the results of these queries?

View 1 Replies View Related

Combine Two Datatables Into Single Datatable?

Oct 27, 2010 07:59 AM

I am trying to combine two datatables into single datatable... First table contains 3 columns[e.g: 'col1','col2','col3'] Second table contains 2 columns[e.g: 'col4','col5'] Both tables have the same no.of records[rows], but different columns. How to combine them into single table? I need DataTable with columns ['col1','col2','col3','col4','col5']. I am inserting through looping the both the tables and adding values into third table. I tried the Merge (DataTable.Merge()), but it is adding the records to bottom of first one, but i need it should be added to the side[as columns] to first table'

View 6 Replies View Related

Web Forms :: How To Combine C# And Html/javaScript

Apr 17, 2010 11:27 AM

i got a question that realy bothering me .... for the last 24 hours ...

how to combine c# and html/javaScript .....??

so ... the question :

for example i create a varible in my form .......

int variable = 2;
// some function .....
protect int makeItdouble(int variable)


return variable*2;

variable = makeItdouble(5); // some code i

and now i want to take this "variable" into my my javascript code .... this important thing is that i want thet this function will run first .... (the C# function)cus i take first my DataBase from the server and that prosses him more with some javascript code ...

View 10 Replies View Related

C# - Combine Javascript/CSS Into One File Or Two For Better Optimization?

Jan 24 at 18:35

I am currently working on an c# application that minimizes and combines javascript/css asynchronously in the background to load on to the page which completed. Once the combined minimized file(s) are created, they are saved on to disk and all subsequent requests to the page will load this file.

The reason for this is to assist with performance on the page. I have a concern though, what if the combined file is large, eg 200 kb. Would it be better to combine in to 2 files if this was the case and have 2 separate http requests? The file will be gzipped and cached.

View 3 Replies View Related

Multiple Javascript Files, Combine Into One?

Feb 2 at 16:55

I am developing in mvc and using multiple javascript jquery, jquery-ui, google-maps my own js files etc.for performance should i combine these into one?if so how?

View 4 Replies View Related

Web Forms :: Combine 2 Datalist To Display?

Dec 23, 2009 08:39 AM

I would like to combine 2 datalist to display row by row, I mean the first row of the datalist_1 combine with the first row of the datalist_2 to display together. how can i do this?

View 2 Replies View Related

SQL Server :: Combine Two Queries In One Resultset?

Sep 06, 2010 11:01 AM

I want to combine two queries like :

select name as name1 from table1 where id = 6


select name as name2 from table1 where id = 2.

I need a single resultset. How can I do that?

View 26 Replies View Related

AJAX :: Combine TextBox And AutoCompleteExtender?

Feb 07, 2011 10:22 PM

How can I combine the TextBox and the AutoCompleteExtender, such that they become a single control the way the ComboBox is?

View 3 Replies View Related

SQL Server :: Combine Two Rows Of Data?

Mar 09, 2011 10:27 PM

have a complex sql stored procedure which involves several unions.The unions also involveat from views. When the data is returned, it might look like the following.

ProductId Name Amount Buyer Date YearsAsCustomer
1 Jones 234.44 Nichols
1 Jones 3/12/2011 3
2 Melon 333.00 Tripol
2 Melon 3/23/2011 4

This is just a simple example, but notice how the records with the same product Id can be combined?Because one record has some of the data I need and the other record has different data. So essentiallythey should just be in one record together. So the output should look like this:

ProductId Name Amount Buyer Date YearsAsCustomer
1 Jones 234.44 Nichols 3/12/2011 3
2 Melon 333.00 Tripol 3/23/2011 4

How can I combine these records together? In the stored procedure the query is build in a parameter stringnamed @SQL, and then the query is executed by using the EXEC command:EXEC sp_executesql @SQL.Is their anway I can combine all of the outputted records into one record. Where the records I want to combine
have the same ProductId (As in the example I illustrated above?)

View 7 Replies View Related

ADO.NET :: Can't Combine "LINQ Join" With Other Tables?

Jan 08, 2011 09:41 AM

The main problem is that I recieve the following message:

"base {System.SystemException} = {"Unable to create a constant value of type 'BokButik1.Models.Book-Author'. Only primitive types ('such as Int32, String, and Guid') are supported in this context."}"

based on this LinQ code:


How shall I solve this problem to get a class instance that contain with property title and Book-AuthorID?I also have tried making some dummy by using "allbooks" relation with Code Samples from the address Unfortunately, still same problem.

I also have taken account to Int32 due to entity framework Unfortunatley, still same problem.

Using database with 3 tables and one of them is a many to many relationship. This database is used in relation with entity framework

Book-Author (int)
BookID (int)[code]....

View 1 Replies View Related

Web Forms :: How To Combine Static Value At Runtime

Sep 16, 2010 06:34 AM

i am using oracle 10g... m showing some data for a particular record on my page.. i have some fields where i have to mention thr units like 'metre' or 'kg' as in my database those fields are numeric so can't make change directly in database.. so is thr any other solution so that i can display those fields with thr proper units at runtime like 'depth= 100 m'..

View 6 Replies View Related

Combine Multiple Audio Files Query?

Apr 1, 2010, 06:48

Is there any way to combine multiple Audio Files (.wav etc) into one file?

I have found an example here :




View 1 Replies View Related

How To Combine Silverlight Parts Into A Page / Project

Mar 19, 2010 09:51 PM

I would like to create a dot net page and combine in it some silverlight parts / elements...

how to do that?

View 4 Replies View Related

AJAX :: How To Combine ScriptResource.axd And WebResource.axd Files

Aug 04, 2009 02:05 PM

Basically My requirement is to combine webresource.axd and scriptresource.axd files.

As you know when we use ajax and ajaxtoolkit in the application by default , some of the javascript files(webresource.axd and scriptresource.axd) will load automatically.

For loading all the JavaScript files browser will take multiple requests, To reduce the multiple requests i am trying to combine all the scripts into one file and loading into the client side.

I have tried to resolve using custom httpmodule and httphandlers but they are still putting me in loops. If i am not using AjaxToolkit Controls my custom httpmodule working fine to combine scriptresource.axd and webresource.axd files andalso browser taking only one request to get all the javascript files. if i am using Ajaxtoolkitcontrols i am getting error scriptLoad Failed exception and sys is undefined I just wanted to knock people to understand if they had used a different method, I want to do everything using 2.0

View 1 Replies View Related

DataSource Controls :: Combine Data From 2 Tables

Mar 27, 2010 03:45 AM

I have 2 tables with UserId and FirstName, LastName Columns that I want to combine the data in a Select Statement or Stored Procedure

1. The 2 tables will never have the same data, each table will be distinct

2. I want to combine first and lastnames to a full name (t1.FirstName + ' ' + t1.LastName) AS FullName

3. The statement will be used to populate a dropdownlist with UserId as Value, and Name as text

I am unsure how to accomplish this since I do not need to connect the tables, but combine the Sum of their data.

View 6 Replies View Related

SQL Server :: Combine Inner Joins - Get A Field Value From The First Statement

Sep 14, 2010 05:25 PM

I have a select statement. I need to get a field value from the first statement. GOAL: Below is what I am trying to accomplish - the code below is not correct - Please modify the statement with the correct SQL Syntax. I want to query a table and based on the results I want to set the "If THE Else"statement to query then table with diffent inner joins.


View 10 Replies View Related

How To Combine Two Fields Into One Before Inserting/updating The Database

Feb 26, 2009 12:36 PM

How do i combine two fields into one before inserting/updating the database?Imagine i have a sql-table with an event_date field (smalldatetime) and i'm using a sqldatasource to query that table.In my formfield i have two fields: one field called 'e_date' (dd-mm-yyyy) and one field called 'e_time' (hh:mm).note: in edit-mode the values of these fields are splitted from field 'event_date')If a user enters 21-11-2009 into 'e_date' field and 10:45 into 'e_time' field, how do i put those together into that single event_date field of the database

View 4 Replies View Related

Copyrights 2005-14, All rights reserved